Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.0014/0.0014, allocations: 84.55 kB / 20.68 MB, free: 1.012 MB / 14.72 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.001437/0.001437, allocations: 163.6 kB / 23.95 MB, free: 4.137 MB / 14.72 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 1.464/1.464, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.41e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01153/0.01155, allocations: 8.642 MB / 333.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009175/0.02073, allocations: 3.568 MB / 337.3 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.02329, allocations: 59.62 kB / 337.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.02599, allocations: 0.6586 MB / 338 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.03028, allocations: 0.9609 MB / 339 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.03191, allocations: 477.5 kB / 339.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004462/0.03637, allocations: 2.762 MB / 342.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.03821, allocations: 1.069 MB / 343.3 MB, free: 2.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.04173, allocations: 1.766 MB / 345.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.04422, allocations: 1.321 MB / 346.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006246/0.04485, allocations: 304 kB / 346.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.04627, allocations: 0.5579 MB / 347.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.04752, allocations: 1.067 MB / 348.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.04923, allocations: 0.9975 MB / 349.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006315/0.05555, allocations: 4.339 MB / 353.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.05555, allocations: 0 / 353.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.05555, allocations: 0 / 353.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.05566, allocations: 0 / 353.6 MB, free: 8.461 MB / 318.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.007122/0.06278, allocations: 3.157 MB / 356.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.06283, allocations: 12.03 kB / 356.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.064, allocations: 374.9 kB / 357.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.06709, allocations: 1.669 MB / 358.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.06723, allocations: 148.4 kB / 359 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004748/0.06771, allocations: 212.1 kB / 359.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/0.07303, allocations: 2.799 MB / 362 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/0.07309, allocations: 3.953 kB / 362 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.07333, allocations: 84 kB / 362.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.07347, allocations: 95.88 kB / 362.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004715/0.07818, allocations: 2.272 MB / 364.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.09259, allocations: 7.063 MB / 371.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.0957, allocations: 1.311 MB / 372.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.09781, allocations: 1.034 MB / 373.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.09803, allocations: 48.91 kB / 373.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.09809, allocations: 51.5 kB / 373.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.196e-06/0.0981, allocations: 0 / 373.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01437/0.1125, allocations: 6.076 MB / 380 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1125, allocations: 68.72 kB / 380.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.1155, allocations: 2.039 MB / 382.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.1157, allocations: 53.7 kB / 382.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.1167, allocations: 1.144 MB / 383.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.1172, allocations: 479.9 kB / 383.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.1177, allocations: 239.5 kB / 384 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1179, allocations: 357.9 kB / 384.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.1194, allocations: 0.7574 MB / 385.1 MB, free: 8.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.1211, allocations: 1.013 MB / 386.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.1244, allocations: 1.857 MB / 388 MB, free: 5.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1244, allocations: 8 kB / 388 MB, free: 5.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0058/0.1302, allocations: 2.739 MB / 390.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.1302, allocations: 11.94 kB / 390.8 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1302, allocations: 4.25 kB / 390.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.1324, allocations: 0.785 MB / 391.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.1336, allocations: 267.6 kB / 391.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.1466, allocations: 9.236 MB / 401 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.148, allocations: 95.89 kB / 401.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.1481, allocations: 56.14 kB / 401.2 MB, free: 7.988 MB / 366.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.001337/0.1495, allocations: 0.7433 MB / 401.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.1499, allocations: 202.7 kB / 402.1 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.1548, allocations: 2.464 MB / 404.6 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.1549, allocations: 19.98 kB / 404.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.1549, allocations: 4 kB / 404.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.1549, allocations: 3.984 kB / 404.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008746/0.1636, allocations: 4.389 MB / 409 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.1636, allocations: 0 / 409 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.1648, allocations: 219.8 kB / 409.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.1667, allocations: 0.6423 MB / 409.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.1668, allocations: 31.97 kB / 409.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.1771, allocations: 8.271 MB / 418.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1771, allocations: 4.031 kB / 418.2 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/0.184, allocations: 3.506 MB / 421.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.1852, allocations: 358.5 kB / 422 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.1854, allocations: 40.05 kB / 422.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009583/0.1864, allocations: 83.84 kB / 422.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.1867, allocations: 108.7 kB / 422.3 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.1868, allocations: 51.91 kB / 422.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002217/0.1891, allocations: 1.419 MB / 423.7 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1891, allocations: 0 / 423.7 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002232/0.1913, allocations: 0.5234 MB / 424.3 MB, free: 484 kB / 382.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.001892/0.1932, allocations: 493.2 kB / 424.7 MB, free: 144 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00508/0.1983, allocations: 2.298 MB / 427 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.1983, allocations: 4 kB / 427 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002857/0.2011, allocations: 1.453 MB / 428.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.2034, allocations: 389.6 kB / 428.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.2124, allocations: 5.023 MB / 433.9 MB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.214, allocations: 1.388 MB / 435.3 MB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001136/0.2152, allocations: 370.8 kB / 435.6 MB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.2156, allocations: 132.4 kB / 435.8 MB, free: 4.949 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2156, allocations: 0 / 435.8 MB, free: 4.949 MB / 398.1 MB Notification: Performance of Templates: time 0.05428/0.2699, allocations: 29.45 MB / 465.2 MB, free: 7.785 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.625237308442593]