Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.0007184/0.0007184, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001771, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006975/0.0006975, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000921/0.001618, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8628/0.8628, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07933/0.9422, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|//aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|//aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.251e-05, allocations: 2.312 kB / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01003/0.01004, allocations: 13.81 MB / 258.4 MB, free: 432 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006632/0.01667, allocations: 5.493 MB / 263.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000821/0.01749, allocations: 99.44 kB / 264 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.01898, allocations: 1.083 MB / 265 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.0209, allocations: 1.498 MB / 266.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.02207, allocations: 1.013 MB / 267.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002947/0.02501, allocations: 4.583 MB / 272.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.02654, allocations: 1.838 MB / 274 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1073/0.1338, allocations: 3.476 MB / 277.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.1368, allocations: 2.102 MB / 279.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.1379, allocations: 0.5281 MB / 280.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.1394, allocations: 0.9068 MB / 281 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008662/0.1402, allocations: 1.158 MB / 282.1 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.1416, allocations: 1.304 MB / 283.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.1446, allocations: 3.722 MB / 287.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.1446, allocations: 0.75 kB / 287.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1446, allocations: 0 / 287.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.354e-05/0.1447, allocations: 0.5312 kB / 287.2 MB, free: 3.605 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.005591/0.1503, allocations: 5.751 MB / 292.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.1503, allocations: 7.656 kB / 292.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.1526, allocations: 1.173 MB / 294.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.1545, allocations: 1.765 MB / 295.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.1546, allocations: 251 kB / 296.1 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/0.1549, allocations: 342 kB / 296.5 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.1573, allocations: 2.564 MB / 299 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.1573, allocations: 4 kB / 299 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.1575, allocations: 141.4 kB / 299.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.1576, allocations: 156.4 kB / 299.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1591, allocations: 0.9959 MB / 300.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008763/0.1679, allocations: 8.719 MB / 309 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.1702, allocations: 1.814 MB / 310.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/0.171, allocations: 0.7639 MB / 311.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002809/0.1739, allocations: 2.144 MB / 313.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1739, allocations: 47.88 kB / 313.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 2.846e-06/0.1739, allocations: 0 / 313.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=185): time 0.005904/0.1798, allocations: 3.993 MB / 317.8 MB, free: 14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1798, allocations: 73.41 kB / 317.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.181, allocations: 1.718 MB / 319.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/0.1811, allocations: 61.64 kB / 319.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.1816, allocations: 1.325 MB / 321 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.1819, allocations: 0.6461 MB / 321.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.1822, allocations: 323.2 kB / 321.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.1823, allocations: 309.1 kB / 322.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.1826, allocations: 238.7 kB / 322.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.183, allocations: 0.6309 MB / 323.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.1839, allocations: 1.047 MB / 324.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.1839, allocations: 4 kB / 324.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00154/0.1855, allocations: 1.33 MB / 325.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1855, allocations: 11.98 kB / 325.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1855, allocations: 15.94 kB / 325.5 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.1863, allocations: 452.2 kB / 325.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.1873, allocations: 497.1 kB / 326.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.1909, allocations: 4.763 MB / 331.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.1914, allocations: 71.91 kB / 331.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.1915, allocations: 59.98 kB / 331.3 MB, free: 0.707 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004604/0.1919, allocations: 224.9 kB / 331.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.1922, allocations: 195.8 kB / 331.7 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.1937, allocations: 1.299 MB / 333 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.1937, allocations: 20 kB / 333 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1938, allocations: 8 kB / 333.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.1938, allocations: 7.969 kB / 333.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.1969, allocations: 2.721 MB / 335.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1969, allocations: 4 kB / 335.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/0.1977, allocations: 332.2 kB / 336.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.1981, allocations: 266.3 kB / 336.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008933/0.199, allocations: 0.4931 MB / 336.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.199, allocations: 47.97 kB / 336.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/0.2038, allocations: 7.814 MB / 344.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.2038, allocations: 4 kB / 344.7 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.2057, allocations: 1.681 MB / 346.4 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.2059, allocations: 40 kB / 346.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.2064, allocations: 59.97 kB / 346.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.2066, allocations: 141.7 kB / 346.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.2066, allocations: 39.97 kB / 346.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006174/0.2072, allocations: 0.8102 MB / 347.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2072, allocations: 0 / 347.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001378/0.2086, allocations: 0.6825 MB / 348.2 MB, free: 12 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.2098, allocations: 0.5777 MB / 348.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.2114, allocations: 1.496 MB / 350.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-05/0.2115, allocations: 43.19 kB / 350.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.2125, allocations: 1.269 MB / 351.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.2136, allocations: 0.662 MB / 352.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/0.2352, allocations: 5.967 MB / 358.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.236, allocations: 0.8004 MB / 359 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009015/0.2369, allocations: 298.2 kB / 359.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.2377, allocations: 0.4933 MB / 359.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2377, allocations: 0 / 359.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of Templates: time 0.04628/0.284, allocations: 37.75 MB / 397.5 MB, free: 15.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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.8976864460855722]