Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9813/0.9813, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.288e-05, allocations: 5.266 kB / 274.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01185/0.01186, allocations: 16.44 MB / 290.7 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007474/0.01933, allocations: 5.581 MB / 296.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.02082, allocations: 131.2 kB / 296.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.02289, allocations: 1.266 MB / 297.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.02669, allocations: 1.677 MB / 299.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.02903, allocations: 1.083 MB / 300.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005367/0.0344, allocations: 5.417 MB / 305.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.03675, allocations: 2.231 MB / 308 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.04032, allocations: 3.716 MB / 311.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.04294, allocations: 2.502 MB / 314.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008812/0.04382, allocations: 0.6055 MB / 314.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.04493, allocations: 0.8354 MB / 315.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009019/0.04584, allocations: 1.468 MB / 317.2 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.04745, allocations: 1.797 MB / 319 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.05193, allocations: 4.252 MB / 323.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.05194, allocations: 0 / 323.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.05194, allocations: 4 kB / 323.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.137e-05/0.052, allocations: 4 kB / 323.2 MB, free: 3.129 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.006971/0.05897, allocations: 5.504 MB / 328.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.05901, allocations: 8.031 kB / 328.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.06235, allocations: 1.383 MB / 330.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.06588, allocations: 2.721 MB / 332.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.06605, allocations: 300.5 kB / 333.1 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.06645, allocations: 404.3 kB / 333.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.07007, allocations: 2.944 MB / 336.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/0.07013, allocations: 3.938 kB / 336.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.07038, allocations: 164 kB / 336.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.0705, allocations: 172 kB / 336.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.0723, allocations: 1.202 MB / 338 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1245/0.1968, allocations: 13.4 MB / 351.4 MB, free: 43.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.1999, allocations: 2.263 MB / 353.7 MB, free: 42.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.2017, allocations: 1.222 MB / 354.9 MB, free: 42.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005657/0.2074, allocations: 3.123 MB / 358 MB, free: 42.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.2074, allocations: 60.2 kB / 358.1 MB, free: 42.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 4.348e-06/0.2074, allocations: 0 / 358.1 MB, free: 42.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.006885/0.2143, allocations: 2.997 MB / 361.1 MB, free: 41.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.2144, allocations: 67.41 kB / 361.1 MB, free: 41.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.2168, allocations: 1.812 MB / 363 MB, free: 41.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.2169, allocations: 59.45 kB / 363 MB, free: 41.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.2179, allocations: 2.035 MB / 365 MB, free: 40.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.2183, allocations: 0.5918 MB / 365.6 MB, free: 39.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00073/0.219, allocations: 430.9 kB / 366.1 MB, free: 39.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.219, allocations: 482.6 kB / 366.5 MB, free: 39.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2194, allocations: 233.3 kB / 366.8 MB, free: 39.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.2203, allocations: 1.293 MB / 368 MB, free: 37.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.2217, allocations: 1.711 MB / 369.8 MB, free: 36.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.2217, allocations: 10.22 kB / 369.8 MB, free: 36.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002254/0.224, allocations: 1.702 MB / 371.5 MB, free: 35.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.224, allocations: 15.5 kB / 371.5 MB, free: 35.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.224, allocations: 23.22 kB / 371.5 MB, free: 35.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.2243, allocations: 131.5 kB / 371.6 MB, free: 35.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.2256, allocations: 0.4995 MB / 372.1 MB, free: 35.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.2268, allocations: 2.369 MB / 374.5 MB, free: 33.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2278, allocations: 87.88 kB / 374.6 MB, free: 33.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.2279, allocations: 83.98 kB / 374.7 MB, free: 33.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007223/0.2286, allocations: 300.2 kB / 375 MB, free: 33.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.2289, allocations: 290.5 kB / 375.3 MB, free: 32.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.2307, allocations: 1.28 MB / 376.5 MB, free: 31.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.2307, allocations: 16 kB / 376.5 MB, free: 31.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2308, allocations: 14.34 kB / 376.6 MB, free: 31.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.2308, allocations: 7.969 kB / 376.6 MB, free: 31.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.2352, allocations: 3.247 MB / 379.8 MB, free: 28.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2352, allocations: 0 / 379.8 MB, free: 28.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.236, allocations: 266 kB / 380.1 MB, free: 28.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006159/0.2366, allocations: 285.2 kB / 380.4 MB, free: 28.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/0.2367, allocations: 39.97 kB / 380.4 MB, free: 28.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.2401, allocations: 7.246 MB / 387.6 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2401, allocations: 8 kB / 387.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.2424, allocations: 1.744 MB / 389.4 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.243, allocations: 378.3 kB / 389.8 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.2432, allocations: 28 kB / 389.8 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.2439, allocations: 75.42 kB / 389.9 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.2441, allocations: 116.4 kB / 390 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.2442, allocations: 35.98 kB / 390 MB, free: 18.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008544/0.245, allocations: 0.9413 MB / 390.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.245, allocations: 0 / 390.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001904/0.2469, allocations: 0.6674 MB / 391.6 MB, free: 16.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.2472, allocations: 187.2 kB / 391.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.2488, allocations: 1.223 MB / 393 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2488, allocations: 0.875 kB / 393 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.2498, allocations: 1.147 MB / 394.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.2513, allocations: 0.5253 MB / 394.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/0.259, allocations: 6.059 MB / 400.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.2596, allocations: 0.9342 MB / 401.7 MB, free: 6.621 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007704/0.2603, allocations: 315.2 kB / 402 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007768/0.2611, allocations: 0.5994 MB / 402.6 MB, free: 5.707 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2611, allocations: 0 / 402.6 MB, free: 5.707 MB / 314.7 MB Notification: Performance of Templates: time 0.04173/0.3028, allocations: 32.35 MB / 434.9 MB, free: 5.91 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.106685629114509]