Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.001742/0.001742, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.0021/0.0021, allocations: 213.4 kB / 23 MB, free: 5.609 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.481/1.481, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01217/0.298, allocations: 9.819 MB / 439.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007458/0.3055, allocations: 3.782 MB / 443.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.3073, allocations: 47.81 kB / 443.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.3098, allocations: 0.7063 MB / 444.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.3129, allocations: 0.9167 MB / 445.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.3144, allocations: 478.4 kB / 445.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.3183, allocations: 2.662 MB / 448.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.3202, allocations: 1.112 MB / 449.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.3228, allocations: 1.207 MB / 450.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.3256, allocations: 1.549 MB / 452.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006489/0.3262, allocations: 308 kB / 452.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.3277, allocations: 0.5738 MB / 453 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3289, allocations: 1.036 MB / 454 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.3308, allocations: 1.497 MB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005024/0.3358, allocations: 4.308 MB / 459.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3358, allocations: 7.875 kB / 459.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3358, allocations: 0 / 459.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.491e-05/0.3359, allocations: 0 / 459.8 MB, free: 9.367 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005962/0.3419, allocations: 3.272 MB / 463.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3419, allocations: 8.031 kB / 463.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.343, allocations: 370.9 kB / 463.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.3457, allocations: 1.746 MB / 465.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.3458, allocations: 152.4 kB / 465.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.3461, allocations: 203.9 kB / 465.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.3507, allocations: 2.698 MB / 468.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.854e-05/0.3507, allocations: 7.953 kB / 468.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.3509, allocations: 83.98 kB / 468.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.3511, allocations: 95.92 kB / 468.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.3553, allocations: 2.28 MB / 470.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/0.3684, allocations: 8.161 MB / 478.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.3714, allocations: 1.545 MB / 480.4 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.3734, allocations: 1.02 MB / 481.4 MB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.3737, allocations: 126.1 kB / 481.6 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3737, allocations: 51.48 kB / 481.6 MB, free: 3.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.125e-06/0.3737, allocations: 0 / 481.6 MB, free: 3.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01426/0.388, allocations: 6.492 MB / 488.1 MB, free: 12.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.388, allocations: 64.72 kB / 488.2 MB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/0.3912, allocations: 2.177 MB / 490.3 MB, free: 10.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.3914, allocations: 53.69 kB / 490.4 MB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3925, allocations: 1.137 MB / 491.5 MB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005185/0.393, allocations: 479.9 kB / 492 MB, free: 8.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/0.3934, allocations: 243.5 kB / 492.2 MB, free: 8.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3936, allocations: 361.9 kB / 492.6 MB, free: 7.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.395, allocations: 0.7535 MB / 493.4 MB, free: 7.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.3966, allocations: 1.013 MB / 494.4 MB, free: 6.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.3997, allocations: 1.857 MB / 496.2 MB, free: 4.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.3997, allocations: 4 kB / 496.2 MB, free: 4.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005598/0.4053, allocations: 2.754 MB / 499 MB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.4053, allocations: 8 kB / 499 MB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.4053, allocations: 8 kB / 499 MB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.4074, allocations: 0.7853 MB / 499.8 MB, free: 496 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4086, allocations: 271.5 kB / 0.4883 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.4216, allocations: 9.605 MB / 0.4977 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4232, allocations: 87.84 kB / 0.4978 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.4233, allocations: 55.98 kB / 0.4978 GB, free: 6.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001343/0.4247, allocations: 0.7479 MB / 0.4986 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.4251, allocations: 218.6 kB / 0.4988 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.4299, allocations: 2.473 MB / 0.5012 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.4299, allocations: 16 kB / 0.5012 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.4299, allocations: 11.94 kB / 0.5012 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.43, allocations: 4.172 kB / 0.5012 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009307/0.4393, allocations: 4.941 MB / 0.5061 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4393, allocations: 0 / 0.5061 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4403, allocations: 215.9 kB / 0.5063 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.4421, allocations: 0.6472 MB / 0.5069 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.4423, allocations: 35.97 kB / 0.5069 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.4524, allocations: 8.723 MB / 0.5154 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4524, allocations: 0 / 0.5154 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.4591, allocations: 3.533 MB / 0.5189 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.4603, allocations: 455.5 kB / 0.5193 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.4606, allocations: 32.05 kB / 0.5194 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.4616, allocations: 87.91 kB / 0.5194 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.462, allocations: 100.8 kB / 0.5195 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.4621, allocations: 39.97 kB / 0.5196 GB, free: 15.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002605/0.4647, allocations: 1.54 MB / 0.5211 GB, free: 13.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4647, allocations: 0 / 0.5211 GB, free: 13.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002063/0.4668, allocations: 0.5196 MB / 0.5216 GB, free: 13.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/0.4686, allocations: 457.2 kB / 0.522 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.4732, allocations: 2.299 MB / 0.5243 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.4732, allocations: 4 kB / 0.5243 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002822/0.476, allocations: 1.542 MB / 0.5258 GB, free: 8.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.4783, allocations: 458.1 kB / 0.5262 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/0.4873, allocations: 5.246 MB / 0.5313 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.4891, allocations: 1.963 MB / 0.5333 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001251/0.4904, allocations: 391.8 kB / 0.5336 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.4907, allocations: 127.4 kB / 0.5338 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4907, allocations: 0 / 0.5338 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of Templates: time 0.2666/0.7574, allocations: 31.47 MB / 0.5645 GB, free: 80.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.728960931301117]