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.001298/0.001298, allocations: 80.8 kB / 21.49 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.001498/0.001498, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9729/0.9729, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.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 8.01e-07/8.01e-07, allocations: 0 / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.228e-05, allocations: 2.312 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01032/0.01034, allocations: 13.71 MB / 287.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1208/0.1311, allocations: 5.438 MB / 292.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.1331, allocations: 101.4 kB / 292.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.1355, allocations: 1.088 MB / 293.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.1386, allocations: 1.502 MB / 295.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.1402, allocations: 1.011 MB / 296.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003912/0.1441, allocations: 4.576 MB / 301 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.1461, allocations: 1.849 MB / 302.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003152/0.1493, allocations: 3.228 MB / 306 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.1515, allocations: 2.104 MB / 308.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.1522, allocations: 0.5309 MB / 308.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.1533, allocations: 0.9134 MB / 309.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006183/0.1539, allocations: 1.401 MB / 311 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.155, allocations: 1.561 MB / 312.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.1573, allocations: 3.928 MB / 316.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1573, allocations: 4 kB / 316.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1573, allocations: 0 / 316.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.1574, allocations: 0 / 316.5 MB, free: 4.699 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.004376/0.1617, allocations: 4.859 MB / 321.3 MB, free: 44 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.339e-05/0.1618, allocations: 8.031 kB / 321.4 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.1645, allocations: 1.171 MB / 322.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.1666, allocations: 1.757 MB / 324.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1667, allocations: 253.5 kB / 324.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.1671, allocations: 340.4 kB / 324.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.1697, allocations: 2.562 MB / 327.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/0.1698, allocations: 3.953 kB / 327.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.17, allocations: 140.1 kB / 327.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/0.1701, allocations: 158.7 kB / 327.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.1716, allocations: 0.9987 MB / 328.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009227/0.1808, allocations: 8.669 MB / 337.4 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.1833, allocations: 1.844 MB / 339.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008559/0.1841, allocations: 0.7606 MB / 340 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002935/0.1871, allocations: 2.134 MB / 342.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1871, allocations: 55.88 kB / 342.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.486e-06/0.1871, allocations: 0 / 342.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.006174/0.1933, allocations: 3.985 MB / 346.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.1933, allocations: 73.41 kB / 346.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.1947, allocations: 1.722 MB / 348 MB, free: 6.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.39e-05/0.1948, allocations: 57.7 kB / 348 MB, free: 6.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.1953, allocations: 1.316 MB / 349.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.1956, allocations: 0.6536 MB / 350 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.1959, allocations: 324.5 kB / 350.3 MB, free: 4.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.196, allocations: 303.8 kB / 350.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.1964, allocations: 238.7 kB / 350.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.1968, allocations: 0.6285 MB / 351.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1979, allocations: 1.059 MB / 352.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1979, allocations: 4 kB / 352.5 MB, free: 1.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.001576/0.1994, allocations: 1.333 MB / 353.9 MB, free: 376 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1995, allocations: 19.95 kB / 353.9 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1995, allocations: 12 kB / 353.9 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/0.2003, allocations: 444.2 kB / 354.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/0.2013, allocations: 464.8 kB / 354.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.2051, allocations: 4.759 MB / 359.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.2057, allocations: 63.94 kB / 359.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.692e-05/0.2058, allocations: 59.98 kB / 359.7 MB, free: 10.47 MB / 314.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.0005454/0.2063, allocations: 226.9 kB / 359.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.2066, allocations: 195.8 kB / 360.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2082, allocations: 1.294 MB / 361.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.2082, allocations: 23.98 kB / 361.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2082, allocations: 8 kB / 361.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2082, allocations: 7.969 kB / 361.4 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.2116, allocations: 2.731 MB / 364.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2116, allocations: 0 / 364.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.2123, allocations: 310.7 kB / 364.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008742/0.2132, allocations: 0.5018 MB / 364.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.2133, allocations: 43.91 kB / 365 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.2181, allocations: 7.816 MB / 372.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2181, allocations: 0 / 372.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.2201, allocations: 1.681 MB / 374.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.2204, allocations: 258.3 kB / 374.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.2206, allocations: 36 kB / 374.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.221, allocations: 59.97 kB / 374.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.2212, allocations: 141.6 kB / 375 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.2213, allocations: 39.98 kB / 375 MB, free: 10.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006145/0.2219, allocations: 0.8159 MB / 375.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2219, allocations: 0 / 375.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001306/0.2232, allocations: 0.6835 MB / 376.5 MB, free: 9.418 MB / 330.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.001024/0.2242, allocations: 0.5381 MB / 377 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.226, allocations: 1.489 MB / 378.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/0.226, allocations: 20.5 kB / 378.5 MB, free: 7.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2271, allocations: 1.267 MB / 379.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2281, allocations: 0.4933 MB / 380.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.2343, allocations: 5.763 MB / 386.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.2349, allocations: 0.7824 MB / 386.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.2356, allocations: 294.1 kB / 387.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/0.2364, allocations: 0.4913 MB / 387.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2364, allocations: 0 / 387.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Templates: time 0.04263/0.279, allocations: 36.33 MB / 424 MB, free: 10.44 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 -s gbode -gbm=radauIIA3 -emit_protected -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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.558864110149443]