Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 109.1 kB / 21.18 MB, free: 0.7773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 210.1 kB / 24.49 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.88 kB / 379.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2456, allocations: 53.4 MB / 432.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01807/0.2637, allocations: 14.39 MB / 446.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.2743, allocations: 5.41 MB / 452.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.2768, allocations: 103.4 kB / 452.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.2799, allocations: 1.099 MB / 453.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.285, allocations: 1.488 MB / 455 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.2881, allocations: 1.043 MB / 456 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00599/0.2941, allocations: 4.377 MB / 460.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.297, allocations: 1.865 MB / 462.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.3004, allocations: 2.083 MB / 464.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.3048, allocations: 2.429 MB / 466.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.306, allocations: 0.5351 MB / 467.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.3084, allocations: 0.9876 MB / 468.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.3099, allocations: 1.387 MB / 469.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.3133, allocations: 2.36 MB / 472 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009692/0.323, allocations: 7.416 MB / 479.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.323, allocations: 7.938 kB / 479.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.323, allocations: 0 / 479.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001864/0.3232, allocations: 0 / 479.5 MB, free: 7.562 MB / 382.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.0134/0.3366, allocations: 5.068 MB / 484.5 MB, free: 2.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3366, allocations: 11.97 kB / 484.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/0.3413, allocations: 0.9116 MB / 485.5 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.3475, allocations: 2.765 MB / 488.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.3477, allocations: 251.1 kB / 488.5 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009185/0.3486, allocations: 343.8 kB / 488.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009244/0.3579, allocations: 4.547 MB / 493.4 MB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.982e-05/0.358, allocations: 11.94 kB / 493.4 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.3583, allocations: 136 kB / 493.5 MB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.3585, allocations: 158.6 kB / 493.7 MB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007595/0.3661, allocations: 3.918 MB / 497.6 MB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.3905, allocations: 13.86 MB / 0.4994 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006318/0.3969, allocations: 2.986 MB / 0.5024 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.3999, allocations: 1.575 MB / 0.5039 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008021/0.4079, allocations: 4.032 MB / 0.5078 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.408, allocations: 55.88 kB / 0.5079 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.997e-06/0.408, allocations: 0 / 0.5079 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01771/0.4257, allocations: 7.429 MB / 0.5151 GB, free: 7.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.4257, allocations: 69.41 kB / 0.5152 GB, free: 7.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/0.4297, allocations: 2.669 MB / 0.5178 GB, free: 4.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002296/0.43, allocations: 57.7 kB / 0.5179 GB, free: 4.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.4314, allocations: 1.67 MB / 0.5195 GB, free: 2.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006613/0.432, allocations: 0.6584 MB / 0.5201 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005714/0.4326, allocations: 343.4 kB / 0.5205 GB, free: 1.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4327, allocations: 305.1 kB / 0.5208 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.4344, allocations: 0.9135 MB / 0.5217 GB, free: 352 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.4364, allocations: 1.31 MB / 0.5229 GB, free: 14.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.4403, allocations: 2.348 MB / 0.5252 GB, free: 12.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.4403, allocations: 4 kB / 0.5252 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006057/0.4463, allocations: 3.07 MB / 0.5282 GB, free: 9.301 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.4464, allocations: 8.25 kB / 0.5282 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.4464, allocations: 19.98 kB / 0.5283 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.448, allocations: 0.5477 MB / 0.5288 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.4499, allocations: 427.3 kB / 0.5292 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4602, allocations: 7.409 MB / 0.5364 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.462, allocations: 83.94 kB / 0.5365 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.4622, allocations: 80.06 kB / 0.5366 GB, free: 0.5039 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.217/0.6792, allocations: 1.162 MB / 0.5377 GB, free: 97.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/0.68, allocations: 272.8 kB / 0.538 GB, free: 97.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/0.6854, allocations: 2.857 MB / 0.5408 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.6854, allocations: 21.67 kB / 0.5408 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.6855, allocations: 12 kB / 0.5408 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.6855, allocations: 11.03 kB / 0.5408 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/0.6954, allocations: 6.315 MB / 0.547 GB, free: 94.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.6954, allocations: 0 / 0.547 GB, free: 94.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.6967, allocations: 279.1 kB / 0.5473 GB, free: 94.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.6981, allocations: 0.6201 MB / 0.5479 GB, free: 94.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.6983, allocations: 45.05 kB / 0.5479 GB, free: 94.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009375/0.7077, allocations: 11.03 MB / 0.5587 GB, free: 85.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7077, allocations: 3.938 kB / 0.5587 GB, free: 85.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.714, allocations: 4.159 MB / 0.5627 GB, free: 84.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.7152, allocations: 498.1 kB / 0.5632 GB, free: 83.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.7156, allocations: 38.53 kB / 0.5633 GB, free: 83.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.7167, allocations: 78.75 kB / 0.5633 GB, free: 83.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.717, allocations: 149.6 kB / 0.5635 GB, free: 83.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.7171, allocations: 55.97 kB / 0.5635 GB, free: 83.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002109/0.7192, allocations: 1.871 MB / 0.5654 GB, free: 81.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7192, allocations: 0 / 0.5654 GB, free: 81.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002168/0.7214, allocations: 0.6965 MB / 0.566 GB, free: 80.85 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.001496/0.7229, allocations: 439.5 kB / 0.5665 GB, free: 80.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004249/0.7271, allocations: 2.733 MB / 0.5691 GB, free: 77.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7271, allocations: 0 / 0.5691 GB, free: 77.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/0.7296, allocations: 1.848 MB / 0.5709 GB, free: 75.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.7322, allocations: 0.5953 MB / 0.5715 GB, free: 75.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.743, allocations: 7.215 MB / 0.5786 GB, free: 68.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.7448, allocations: 2.586 MB / 0.5811 GB, free: 65.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/0.7456, allocations: 187.4 kB / 0.5813 GB, free: 65.33 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7456, allocations: 0 / 0.5813 GB, free: 65.33 MB / 446.1 MB Notification: Performance of Templates: time 0.1018/0.8473, allocations: 102 MB / 0.6809 GB, free: 11.36 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 16.20744290505536]