Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001665/0.001665, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001848/0.001848, allocations: 184.5 kB / 23.71 MB, free: 4.695 MB / 14.72 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 1.446/1.446, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.91 kB / 371 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2335, allocations: 52.18 MB / 423.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01722/0.2507, allocations: 13.75 MB / 436.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009483/0.2602, allocations: 5 MB / 441.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.262, allocations: 95.44 kB / 442 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.2649, allocations: 1.091 MB / 443.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.2694, allocations: 1.468 MB / 444.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.2721, allocations: 1.004 MB / 445.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005943/0.278, allocations: 4.311 MB / 449.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.2808, allocations: 1.857 MB / 451.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.2838, allocations: 2.064 MB / 453.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.287, allocations: 2.308 MB / 456.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008002/0.2878, allocations: 0.5351 MB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.2897, allocations: 1.003 MB / 457.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.2911, allocations: 1.367 MB / 459 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002912/0.294, allocations: 2.357 MB / 461.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009145/0.3031, allocations: 7.385 MB / 468.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.3031, allocations: 4 kB / 468.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3031, allocations: 0 / 468.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002163/0.3033, allocations: 0 / 468.8 MB, free: 0.8281 MB / 366.1 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.01313/0.3165, allocations: 5.014 MB / 473.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3165, allocations: 12.03 kB / 473.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004427/0.3209, allocations: 0.8999 MB / 474.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005264/0.3262, allocations: 2.736 MB / 477.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.3264, allocations: 254.6 kB / 477.7 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.3271, allocations: 331.9 kB / 478 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008905/0.336, allocations: 4.547 MB / 482.5 MB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.093e-05/0.336, allocations: 7.953 kB / 482.6 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/0.3364, allocations: 132 kB / 482.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.3366, allocations: 158.7 kB / 482.8 MB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007786/0.3444, allocations: 3.922 MB / 486.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.369, allocations: 13.86 MB / 0.4889 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.3758, allocations: 2.971 MB / 0.4918 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/0.379, allocations: 1.571 MB / 0.4933 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007931/0.3869, allocations: 3.996 MB / 0.4972 GB, free: 8.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.3869, allocations: 51.81 kB / 0.4973 GB, free: 7.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.027e-06/0.387, allocations: 0 / 0.4973 GB, free: 7.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.0181/0.405, allocations: 7.428 MB / 0.5045 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.4051, allocations: 73.41 kB / 0.5046 GB, free: 456 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/0.4093, allocations: 2.624 MB / 0.5072 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.4096, allocations: 57.7 kB / 0.5072 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.4111, allocations: 1.658 MB / 0.5088 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007844/0.4119, allocations: 0.6545 MB / 0.5095 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/0.4126, allocations: 335.4 kB / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4128, allocations: 309.1 kB / 0.5101 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.4146, allocations: 0.9097 MB / 0.511 GB, free: 9.852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.4167, allocations: 1.302 MB / 0.5122 GB, free: 8.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004173/0.4209, allocations: 2.352 MB / 0.5145 GB, free: 5.902 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.4209, allocations: 4 kB / 0.5145 GB, free: 5.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006286/0.4272, allocations: 3.058 MB / 0.5175 GB, free: 2.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.4272, allocations: 8 kB / 0.5175 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.4273, allocations: 12 kB / 0.5176 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001634/0.4289, allocations: 0.5519 MB / 0.5181 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.4308, allocations: 435.3 kB / 0.5185 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.4418, allocations: 7.397 MB / 0.5257 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.4436, allocations: 88 kB / 0.5258 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.4437, allocations: 75.98 kB / 0.5259 GB, free: 10.03 MB / 446.1 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.002038/0.4458, allocations: 1.161 MB / 0.527 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/0.4463, allocations: 266.3 kB / 0.5273 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005863/0.4522, allocations: 2.87 MB / 0.5301 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.4522, allocations: 20 kB / 0.5301 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.4522, allocations: 8 kB / 0.5301 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.4522, allocations: 7.969 kB / 0.5301 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2128/0.665, allocations: 6.297 MB / 0.5363 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.665, allocations: 1.062 kB / 0.5363 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.6667, allocations: 278.1 kB / 0.5365 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.6684, allocations: 0.6156 MB / 0.5371 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.6686, allocations: 46.28 kB / 0.5372 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00948/0.6781, allocations: 11.03 MB / 0.5479 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6781, allocations: 7.938 kB / 0.548 GB, free: 96.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006131/0.6842, allocations: 4.135 MB / 0.552 GB, free: 95.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6852, allocations: 489.4 kB / 0.5525 GB, free: 95.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.6855, allocations: 43.28 kB / 0.5525 GB, free: 95.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6866, allocations: 86.47 kB / 0.5526 GB, free: 95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.6869, allocations: 146.8 kB / 0.5527 GB, free: 94.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.687, allocations: 53.78 kB / 0.5528 GB, free: 94.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001986/0.689, allocations: 1.838 MB / 0.5546 GB, free: 94.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.689, allocations: 0 / 0.5546 GB, free: 94.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00205/0.6911, allocations: 0.6992 MB / 0.5552 GB, free: 94.23 MB / 446.1 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.001531/0.6926, allocations: 450.4 kB / 0.5557 GB, free: 94.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004265/0.6969, allocations: 2.732 MB / 0.5583 GB, free: 92.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6969, allocations: 0 / 0.5583 GB, free: 92.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.6994, allocations: 1.843 MB / 0.5601 GB, free: 91.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.7019, allocations: 0.5838 MB / 0.5607 GB, free: 91.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/0.711, allocations: 7.185 MB / 0.5677 GB, free: 84.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.7126, allocations: 2.628 MB / 0.5703 GB, free: 81.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001416/0.714, allocations: 0.5006 MB / 0.5708 GB, free: 81.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.7145, allocations: 167.4 kB / 0.5709 GB, free: 81.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.7145, allocations: 0 / 0.5709 GB, free: 81.14 MB / 446.1 MB Notification: Performance of Templates: time 0.05232/0.7668, allocations: 37.44 MB / 0.6075 GB, free: 44.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.745499265380204]