Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.0009919/0.0009919, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009926/0.0009926, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8792/0.8792, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.997e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01384/0.01386, allocations: 16.22 MB / 267.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009082/0.02294, allocations: 5.364 MB / 272.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.02429, allocations: 115.2 kB / 272.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.02634, allocations: 1.25 MB / 274.1 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.02895, allocations: 1.642 MB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.03033, allocations: 1.079 MB / 276.8 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00382/0.03415, allocations: 5.303 MB / 282.1 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.0362, allocations: 2.132 MB / 284.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002759/0.03896, allocations: 3.337 MB / 287.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.04113, allocations: 2.397 MB / 290 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006636/0.0418, allocations: 0.6133 MB / 290.6 MB, free: 108 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.04284, allocations: 0.8277 MB / 291.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000876/0.04372, allocations: 1.484 MB / 292.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.04531, allocations: 1.809 MB / 294.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.04871, allocations: 4.256 MB / 299 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.04871, allocations: 0 / 299 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04871, allocations: 0 / 299 MB, free: 7.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.349e-05/0.04877, allocations: 0 / 299 MB, free: 7.707 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.006934/0.0557, allocations: 5.649 MB / 304.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.05574, allocations: 19.98 kB / 304.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.05919, allocations: 1.508 MB / 306.1 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.06222, allocations: 2.623 MB / 308.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.06237, allocations: 308.5 kB / 309.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.06274, allocations: 400.3 kB / 309.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.06703, allocations: 3.199 MB / 312.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/0.06709, allocations: 4 kB / 312.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.06735, allocations: 164 kB / 312.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.06747, allocations: 172 kB / 313 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.07046, allocations: 1.511 MB / 314.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.08497, allocations: 13.48 MB / 328 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.08803, allocations: 2.363 MB / 330.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.08927, allocations: 0.8886 MB / 331.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00386/0.09313, allocations: 3.035 MB / 334.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.09317, allocations: 54.64 kB / 334.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 3.186e-06/0.09317, allocations: 0 / 334.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.005547/0.09872, allocations: 3.598 MB / 337.9 MB, free: 112 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.09875, allocations: 68.72 kB / 338 MB, free: 32 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.1004, allocations: 1.832 MB / 339.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.1005, allocations: 53.7 kB / 339.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009139/0.1014, allocations: 2.01 MB / 341.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.1017, allocations: 0.5811 MB / 342.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.1021, allocations: 421.7 kB / 342.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.1022, allocations: 480.8 kB / 343.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/0.103, allocations: 300.1 kB / 343.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/0.104, allocations: 1.352 MB / 345 MB, free: 8.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.1056, allocations: 1.808 MB / 346.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.1056, allocations: 4 kB / 346.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002154/0.1078, allocations: 1.816 MB / 348.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1078, allocations: 24.11 kB / 348.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.1078, allocations: 24 kB / 348.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.108, allocations: 99.33 kB / 348.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.1091, allocations: 0.5343 MB / 349.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1105, allocations: 2.188 MB / 351.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.1112, allocations: 107.9 kB / 351.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.1113, allocations: 99.98 kB / 351.7 MB, free: 1.191 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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.0006611/0.112, allocations: 295.8 kB / 352 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.1122, allocations: 286.5 kB / 352.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1112/0.2234, allocations: 1.348 MB / 353.6 MB, free: 98.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.2234, allocations: 19.66 kB / 353.6 MB, free: 98.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.2235, allocations: 8.516 kB / 353.6 MB, free: 98.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.2235, allocations: 7.781 kB / 353.6 MB, free: 98.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.2289, allocations: 3.978 MB / 357.6 MB, free: 98.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2289, allocations: 4.625 kB / 357.6 MB, free: 98.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.2296, allocations: 277.7 kB / 357.9 MB, free: 98.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/0.2301, allocations: 261.9 kB / 358.1 MB, free: 98.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.2302, allocations: 43.89 kB / 358.2 MB, free: 98.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.2331, allocations: 7.187 MB / 365.4 MB, free: 92.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2331, allocations: 3.656 kB / 365.4 MB, free: 92.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.2352, allocations: 1.874 MB / 367.2 MB, free: 91.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.2356, allocations: 394.5 kB / 367.6 MB, free: 91.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.2358, allocations: 39.09 kB / 367.7 MB, free: 91.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.2363, allocations: 73.69 kB / 367.7 MB, free: 91.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.2365, allocations: 125.6 kB / 367.9 MB, free: 91.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.2365, allocations: 44.56 kB / 367.9 MB, free: 91.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009095/0.2375, allocations: 1.021 MB / 368.9 MB, free: 90.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2375, allocations: 0 / 368.9 MB, free: 90.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001296/0.2388, allocations: 0.6631 MB / 369.6 MB, free: 90.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0002478/0.239, allocations: 177.4 kB / 369.8 MB, free: 90.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2405, allocations: 1.309 MB / 371.1 MB, free: 89.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2405, allocations: 0 / 371.1 MB, free: 89.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.2413, allocations: 1.165 MB / 372.2 MB, free: 88.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2425, allocations: 0.5198 MB / 372.8 MB, free: 88.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.2483, allocations: 6.115 MB / 378.9 MB, free: 82.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.2489, allocations: 0.9257 MB / 379.8 MB, free: 81.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008183/0.2497, allocations: 466.7 kB / 380.3 MB, free: 81.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.25, allocations: 156.5 kB / 380.4 MB, free: 80.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.25, allocations: 0 / 380.4 MB, free: 80.88 MB / 330.7 MB Notification: Performance of Templates: time 0.03966/0.2896, allocations: 29.17 MB / 409.6 MB, free: 51.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/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.862903764937073]