Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 79.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 141.1 kB / 24.54 MB, free: 40 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9892/0.9892, allocations: 173.3 MB / 201.1 MB, free: 9.02 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.032e-05, allocations: 4.422 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0137/0.01372, allocations: 16.45 MB / 284.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.02147, allocations: 5.34 MB / 289.8 MB, free: 420 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.0227, allocations: 127.2 kB / 289.9 MB, free: 292 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1247/0.1474, allocations: 1.236 MB / 291.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.1528, allocations: 1.706 MB / 292.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.1549, allocations: 1.039 MB / 293.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006013/0.1609, allocations: 5.296 MB / 299.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003007/0.1639, allocations: 2.232 MB / 301.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004296/0.1682, allocations: 3.342 MB / 304.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.1712, allocations: 2.408 MB / 307.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009236/0.1721, allocations: 0.6159 MB / 307.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.1733, allocations: 0.83 MB / 308.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006741/0.174, allocations: 1.483 MB / 310.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.1755, allocations: 1.814 MB / 311.9 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.1785, allocations: 4.253 MB / 316.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1785, allocations: 0 / 316.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1785, allocations: 0 / 316.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.1785, allocations: 4 kB / 316.2 MB, free: 5.934 MB / 266.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.005816/0.1843, allocations: 5.653 MB / 321.8 MB, free: 240 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1844, allocations: 12.92 kB / 321.9 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.1874, allocations: 1.506 MB / 323.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.1907, allocations: 2.825 MB / 326.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.1908, allocations: 300.5 kB / 326.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/0.1912, allocations: 405.9 kB / 326.9 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/0.1956, allocations: 3.191 MB / 330.1 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-05/0.1957, allocations: 4 kB / 330.1 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.1959, allocations: 166.8 kB / 330.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.1961, allocations: 176 kB / 330.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.1991, allocations: 1.516 MB / 331.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.2123, allocations: 13.47 MB / 345.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.2151, allocations: 2.372 MB / 347.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.2163, allocations: 0.8916 MB / 348.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003795/0.2201, allocations: 3.043 MB / 351.7 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2201, allocations: 54.7 kB / 351.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 2.946e-06/0.2201, allocations: 0 / 351.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.004955/0.2251, allocations: 3.616 MB / 355.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2251, allocations: 72.66 kB / 355.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.2267, allocations: 1.828 MB / 357.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.2268, allocations: 53.7 kB / 357.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009458/0.2278, allocations: 2.005 MB / 359.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.2281, allocations: 0.5892 MB / 359.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.2285, allocations: 421.7 kB / 360.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.2285, allocations: 476.8 kB / 360.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.229, allocations: 307.6 kB / 361.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.23, allocations: 1.342 MB / 362.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.2316, allocations: 1.802 MB / 364.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.2316, allocations: 8 kB / 364.2 MB, free: 5.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002288/0.2339, allocations: 1.811 MB / 366.1 MB, free: 3.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.2339, allocations: 20.61 kB / 366.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.2339, allocations: 24 kB / 366.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.2341, allocations: 98.42 kB / 366.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2351, allocations: 0.5253 MB / 366.7 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.2362, allocations: 2.204 MB / 368.9 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.2368, allocations: 103.8 kB / 369 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.2369, allocations: 99.98 kB / 369.1 MB, free: 232 kB / 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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005332/0.2375, allocations: 305 kB / 369.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.2377, allocations: 286.5 kB / 369.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.2395, allocations: 1.353 MB / 371.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.2395, allocations: 16 kB / 371.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2395, allocations: 4 kB / 371.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2395, allocations: 7.969 kB / 371.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.2442, allocations: 3.976 MB / 375.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2442, allocations: 192 / 375.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.2449, allocations: 285.3 kB / 375.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.2454, allocations: 264.8 kB / 375.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.2455, allocations: 39.98 kB / 375.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.2494, allocations: 7.192 MB / 382.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2494, allocations: 0 / 382.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.2516, allocations: 1.864 MB / 384.7 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.252, allocations: 402.2 kB / 385.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.2522, allocations: 36 kB / 385.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.2527, allocations: 75.94 kB / 385.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2528, allocations: 120.9 kB / 385.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.2529, allocations: 47.98 kB / 385.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009891/0.2539, allocations: 1.016 MB / 386.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2539, allocations: 0 / 386.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001488/0.2554, allocations: 0.6641 MB / 387 MB, free: 13.93 MB / 346.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 (132): * Single equations (assignments): 129 * 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,5,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.0002657/0.2556, allocations: 187.5 kB / 387.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.2572, allocations: 1.31 MB / 388.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2572, allocations: 0.875 kB / 388.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.2582, allocations: 1.162 MB / 389.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.2595, allocations: 0.5083 MB / 390.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.2668, allocations: 6.084 MB / 396.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.2675, allocations: 0.9412 MB / 397.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008479/0.2683, allocations: 466.7 kB / 397.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.2686, allocations: 156.5 kB / 397.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2686, allocations: 96 / 397.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of Templates: time 0.03573/0.3044, allocations: 29.21 MB / 427 MB, free: 6.348 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.171184710692614]