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.001907/0.001907, allocations: 82.17 kB / 21.25 MB, free: 0.5469 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.00225/0.00225, allocations: 163.1 kB / 24.5 MB, free: 3.715 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.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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.001925/0.001925, allocations: 57.58 kB / 325.6 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08969/0.09162, allocations: 53.39 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01495/0.1066, allocations: 12.5 MB / 391.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008826/0.1154, allocations: 5.098 MB / 396.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.1165, allocations: 103.4 kB / 396.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.1188, allocations: 1.033 MB / 397.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.1219, allocations: 1.468 MB / 399.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.124, allocations: 1.009 MB / 400.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.1286, allocations: 4.373 MB / 404.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.131, allocations: 1.783 MB / 406.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.1338, allocations: 2.087 MB / 408.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.1377, allocations: 2.308 MB / 410.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008284/0.1385, allocations: 0.5312 MB / 411.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.1403, allocations: 0.8979 MB / 412.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.1416, allocations: 1.375 MB / 413.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.1442, allocations: 1.859 MB / 415.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008811/0.153, allocations: 7.451 MB / 422.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.153, allocations: 0 / 422.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.153, allocations: 0 / 422.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002451/0.1533, allocations: 0 / 422.8 MB, free: 3.336 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.01372/0.167, allocations: 5.056 MB / 427.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.167, allocations: 11.98 kB / 427.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/0.1717, allocations: 0.9116 MB / 428.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/0.1773, allocations: 2.76 MB / 431.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.1775, allocations: 251.1 kB / 431.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006046/0.1781, allocations: 339.9 kB / 432.2 MB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008292/0.1864, allocations: 4.698 MB / 436.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/0.1865, allocations: 11.95 kB / 436.9 MB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.1868, allocations: 136 kB / 437 MB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.187, allocations: 154.7 kB / 437.1 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007507/0.1945, allocations: 3.911 MB / 441.1 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.2189, allocations: 12.13 MB / 453.2 MB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006451/0.2254, allocations: 2.957 MB / 456.1 MB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.2285, allocations: 1.571 MB / 457.7 MB, free: 84 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007805/0.2363, allocations: 3.598 MB / 461.3 MB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.2364, allocations: 51.88 kB / 461.4 MB, free: 12.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 4.278e-06/0.2364, allocations: 0 / 461.4 MB, free: 12.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01746/0.2538, allocations: 7.426 MB / 468.8 MB, free: 4.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.2539, allocations: 73.41 kB / 468.9 MB, free: 4.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.2581, allocations: 2.464 MB / 471.3 MB, free: 2.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.2582, allocations: 57.7 kB / 471.4 MB, free: 2.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.2596, allocations: 1.684 MB / 473.1 MB, free: 0.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1881/0.4477, allocations: 0.6522 MB / 473.7 MB, free: 81.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007676/0.4484, allocations: 335 kB / 474 MB, free: 81.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.4485, allocations: 304.3 kB / 474.3 MB, free: 81.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.4502, allocations: 0.9067 MB / 475.2 MB, free: 81.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.452, allocations: 1.335 MB / 476.6 MB, free: 80.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.4552, allocations: 2.356 MB / 478.9 MB, free: 79.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4552, allocations: 4.031 kB / 478.9 MB, free: 79.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005453/0.4607, allocations: 3.054 MB / 482 MB, free: 78.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4607, allocations: 10.66 kB / 482 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.4607, allocations: 14.89 kB / 482 MB, free: 78.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.4622, allocations: 0.5499 MB / 482.6 MB, free: 78.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.4639, allocations: 435.3 kB / 483 MB, free: 78.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.4717, allocations: 7.224 MB / 490.2 MB, free: 73.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.4732, allocations: 81.84 kB / 490.3 MB, free: 73.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.4733, allocations: 78.19 kB / 490.4 MB, free: 73.4 MB / 430.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.001644/0.475, allocations: 1.174 MB / 491.6 MB, free: 72.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.4753, allocations: 253.1 kB / 491.8 MB, free: 72.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.4796, allocations: 2.853 MB / 494.7 MB, free: 71.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.4797, allocations: 19.25 kB / 494.7 MB, free: 71.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4797, allocations: 11.66 kB / 494.7 MB, free: 71.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.4797, allocations: 7.828 kB / 494.7 MB, free: 71.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007339/0.487, allocations: 5.497 MB / 0.4885 GB, free: 68.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.487, allocations: 0 / 0.4885 GB, free: 68.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.4882, allocations: 277.8 kB / 0.4887 GB, free: 68.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.4895, allocations: 0.615 MB / 0.4893 GB, free: 68.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4896, allocations: 45.95 kB / 0.4894 GB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008347/0.4979, allocations: 10.78 MB / 0.4999 GB, free: 57.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4979, allocations: 7.969 kB / 0.4999 GB, free: 57.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.5035, allocations: 4.133 MB / 0.5039 GB, free: 53.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.5044, allocations: 476.4 kB / 0.5044 GB, free: 52.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.5047, allocations: 36 kB / 0.5044 GB, free: 52.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5057, allocations: 83.92 kB / 0.5045 GB, free: 52.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.5059, allocations: 153.6 kB / 0.5047 GB, free: 52.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.506, allocations: 51.98 kB / 0.5047 GB, free: 52.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.5078, allocations: 1.714 MB / 0.5064 GB, free: 50.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5078, allocations: 0 / 0.5064 GB, free: 50.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001918/0.5097, allocations: 0.6885 MB / 0.5071 GB, free: 49.95 MB / 430.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.001491/0.5112, allocations: 470.8 kB / 0.5075 GB, free: 49.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.5152, allocations: 2.735 MB / 0.5102 GB, free: 46.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5152, allocations: 4 kB / 0.5102 GB, free: 46.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.5174, allocations: 1.834 MB / 0.512 GB, free: 45.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.5192, allocations: 0.4986 MB / 0.5125 GB, free: 44.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.5278, allocations: 7.161 MB / 0.5194 GB, free: 37.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.5295, allocations: 2.083 MB / 0.5215 GB, free: 35.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001216/0.5307, allocations: 495.1 kB / 0.522 GB, free: 34.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.5311, allocations: 168.5 kB / 0.5221 GB, free: 34.61 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5311, allocations: 0 / 0.5221 GB, free: 34.61 MB / 430.1 MB Notification: Performance of Templates: time 0.04785/0.579, allocations: 35.59 MB / 0.5569 GB, free: 15.35 MB / 446.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 -s ida -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: 7.148297866922803]