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.001091/0.001091, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009814/0.0009814, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9766/0.9766, allocations: 177.1 MB / 205.3 MB, free: 5.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.643e-06/1.643e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.151e-05, allocations: 2.312 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01344/0.01346, allocations: 16.52 MB / 290 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1124/0.1258, allocations: 5.795 MB / 295.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.1289, allocations: 131 kB / 296 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.1324, allocations: 1.31 MB / 297.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.1374, allocations: 1.68 MB / 298.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.14, allocations: 1.084 MB / 300 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006212/0.1462, allocations: 5.426 MB / 305.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.1495, allocations: 2.296 MB / 307.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006112/0.1556, allocations: 3.731 MB / 311.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003931/0.1596, allocations: 2.511 MB / 314 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.1609, allocations: 0.6055 MB / 314.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.1632, allocations: 0.8474 MB / 315.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008684/0.1641, allocations: 1.464 MB / 316.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.1666, allocations: 1.798 MB / 318.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.1716, allocations: 4.255 MB / 323 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1717, allocations: 0 / 323 MB, free: 14.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1717, allocations: 0 / 323 MB, free: 14.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.1718, allocations: 4 kB / 323 MB, free: 14.91 MB / 282.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.009581/0.1814, allocations: 5.208 MB / 328.2 MB, free: 9.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1815, allocations: 12.03 kB / 328.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.186, allocations: 1.308 MB / 329.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.1894, allocations: 1.874 MB / 331.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.1896, allocations: 306.8 kB / 331.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004805/0.19, allocations: 408.7 kB / 332.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.1936, allocations: 2.993 MB / 335.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.731e-05/0.1937, allocations: 13.52 kB / 335.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.1939, allocations: 167.4 kB / 335.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.194, allocations: 172 kB / 335.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.196, allocations: 1.194 MB / 336.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.2104, allocations: 10.62 MB / 347.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.2126, allocations: 1.993 MB / 349.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.2141, allocations: 1.148 MB / 350.4 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004223/0.2183, allocations: 2.506 MB / 352.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2183, allocations: 51.88 kB / 352.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 3.787e-06/0.2183, allocations: 0 / 352.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.004718/0.223, allocations: 2.738 MB / 355.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2231, allocations: 72.72 kB / 355.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.2243, allocations: 1.532 MB / 357.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/0.2244, allocations: 53.7 kB / 357.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.2251, allocations: 1.623 MB / 358.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.2254, allocations: 0.5702 MB / 359.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.2257, allocations: 388.1 kB / 359.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.2258, allocations: 313.1 kB / 360.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.2261, allocations: 235.3 kB / 360.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.2267, allocations: 0.9513 MB / 361.4 MB, free: 9.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.2279, allocations: 1.411 MB / 362.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.2279, allocations: 11.94 kB / 362.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001571/0.2295, allocations: 1.356 MB / 364.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.2295, allocations: 16 kB / 364.2 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.2295, allocations: 28.53 kB / 364.2 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.2297, allocations: 116.5 kB / 364.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.2309, allocations: 0.5694 MB / 364.9 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.2321, allocations: 1.706 MB / 366.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.2329, allocations: 88 kB / 366.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.233, allocations: 79.98 kB / 366.8 MB, free: 3.203 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.0007183/0.2337, allocations: 259.8 kB / 367 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.2339, allocations: 187.8 kB / 367.2 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.2354, allocations: 1.089 MB / 368.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.2354, allocations: 19.94 kB / 368.3 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2354, allocations: 4 kB / 368.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.2354, allocations: 7.969 kB / 368.3 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.2388, allocations: 2.619 MB / 370.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2388, allocations: 4 kB / 370.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.2396, allocations: 356.5 kB / 371.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/0.2401, allocations: 267.8 kB / 371.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.2402, allocations: 35.98 kB / 371.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.2434, allocations: 5.263 MB / 376.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2434, allocations: 11.92 kB / 376.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.2452, allocations: 1.449 MB / 378.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.2458, allocations: 250.4 kB / 378.5 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.2459, allocations: 32 kB / 378.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.2464, allocations: 63.91 kB / 378.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.2466, allocations: 121 kB / 378.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.2466, allocations: 31.98 kB / 378.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006866/0.2473, allocations: 0.7626 MB / 379.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2473, allocations: 0 / 379.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001502/0.2488, allocations: 0.6679 MB / 380.2 MB, free: 5.285 MB / 330.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.0002733/0.2491, allocations: 164.1 kB / 380.4 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.2504, allocations: 1.061 MB / 381.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-05/0.2504, allocations: 31.69 kB / 381.5 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.2513, allocations: 0.9207 MB / 382.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.2526, allocations: 0.5253 MB / 382.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/0.2608, allocations: 5.895 MB / 388.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.2615, allocations: 0.7702 MB / 389.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009947/0.2625, allocations: 315.3 kB / 389.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009122/0.2634, allocations: 0.5342 MB / 390.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2634, allocations: 0 / 390.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of Templates: time 0.04422/0.3076, allocations: 31.86 MB / 422.3 MB, free: 11.55 MB / 378.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 -s gbode -gbm=radauIIA3 -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: 3.797350544948131]