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.001321/0.001321, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001411/0.001411, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.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 0.001498/0.001498, allocations: 47.92 kB / 379.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 53.36 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.0125/0.2465, allocations: 9.815 MB / 442.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007767/0.2542, allocations: 3.79 MB / 446 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.2558, allocations: 63.62 kB / 446.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.2582, allocations: 0.7028 MB / 446.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.2613, allocations: 0.9285 MB / 447.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.2629, allocations: 485.9 kB / 448.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00397/0.2669, allocations: 2.658 MB / 450.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.269, allocations: 1.116 MB / 452 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.271, allocations: 1.234 MB / 453.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.2739, allocations: 1.553 MB / 454.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.2747, allocations: 304 kB / 455.1 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.2765, allocations: 0.6244 MB / 455.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.278, allocations: 1.036 MB / 456.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.2805, allocations: 1.5 MB / 458.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006103/0.2866, allocations: 4.318 MB / 462.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2866, allocations: 0 / 462.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2866, allocations: 0 / 462.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001537/0.2868, allocations: 0 / 462.5 MB, free: 8.637 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.007445/0.2942, allocations: 3.189 MB / 465.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2942, allocations: 8.031 kB / 465.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.2954, allocations: 374.9 kB / 466.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.2986, allocations: 1.666 MB / 467.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.2988, allocations: 152 kB / 467.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.2991, allocations: 208 kB / 468.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/0.3038, allocations: 2.69 MB / 470.8 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.611e-05/0.3039, allocations: 7.953 kB / 470.8 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.3041, allocations: 87.97 kB / 470.9 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3042, allocations: 99.92 kB / 471 MB, free: 0 / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.3083, allocations: 2.28 MB / 473.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.322, allocations: 8.014 MB / 481.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.3249, allocations: 1.313 MB / 482.6 MB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.3269, allocations: 1.043 MB / 483.7 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.3271, allocations: 52.89 kB / 483.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.3272, allocations: 43.56 kB / 483.7 MB, free: 3.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.687e-06/0.3272, allocations: 0 / 483.7 MB, free: 3.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01355/0.3407, allocations: 6.11 MB / 489.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3408, allocations: 64.72 kB / 489.9 MB, free: 12.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.3447, allocations: 2.181 MB / 492.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.3449, allocations: 53.7 kB / 492.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.346, allocations: 1.134 MB / 493.3 MB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.3465, allocations: 475.9 kB / 493.8 MB, free: 8.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005189/0.347, allocations: 243.5 kB / 494 MB, free: 8.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3472, allocations: 365.9 kB / 494.3 MB, free: 8.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.3487, allocations: 0.7574 MB / 495.1 MB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.3503, allocations: 1.014 MB / 496.1 MB, free: 6.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.3535, allocations: 1.861 MB / 498 MB, free: 4.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.3535, allocations: 4 kB / 498 MB, free: 4.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005619/0.3591, allocations: 2.754 MB / 0.489 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3591, allocations: 8 kB / 0.489 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.3591, allocations: 8.25 kB / 0.489 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/0.3613, allocations: 0.785 MB / 0.4898 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.3624, allocations: 267.6 kB / 0.49 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.3756, allocations: 9.407 MB / 0.4992 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.3771, allocations: 95.83 kB / 0.4993 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.3773, allocations: 51.98 kB / 0.4994 GB, free: 6.867 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.001565/0.3789, allocations: 0.7395 MB / 0.5001 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/0.3795, allocations: 222.6 kB / 0.5003 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004978/0.3845, allocations: 2.473 MB / 0.5027 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.3845, allocations: 15.98 kB / 0.5027 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/0.3845, allocations: 11.94 kB / 0.5027 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.3846, allocations: 7.969 kB / 0.5028 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.3948, allocations: 4.894 MB / 0.5075 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.3948, allocations: 8.031 kB / 0.5075 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.3958, allocations: 211.7 kB / 0.5077 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.3976, allocations: 0.6511 MB / 0.5084 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.3977, allocations: 39.91 kB / 0.5084 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.4084, allocations: 8.405 MB / 0.5166 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/0.4084, allocations: 11.91 kB / 0.5166 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006933/0.4154, allocations: 3.53 MB / 0.5201 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.4166, allocations: 374.5 kB / 0.5204 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004606/0.4171, allocations: 31.98 kB / 0.5205 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.4182, allocations: 83.91 kB / 0.5205 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.4186, allocations: 104.8 kB / 0.5206 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.4187, allocations: 39.92 kB / 0.5207 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002899/0.4216, allocations: 1.544 MB / 0.5222 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4216, allocations: 0 / 0.5222 GB, free: 14.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002304/0.4239, allocations: 0.5233 MB / 0.5227 GB, free: 14.43 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.0017/0.4256, allocations: 467.7 kB / 0.5231 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.4302, allocations: 2.305 MB / 0.5254 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4302, allocations: 0 / 0.5254 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/0.433, allocations: 1.46 MB / 0.5268 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.4356, allocations: 461.4 kB / 0.5273 GB, free: 9.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4459, allocations: 5.291 MB / 0.5324 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.4484, allocations: 1.943 MB / 0.5343 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/0.4491, allocations: 147.4 kB / 0.5345 GB, free: 2.355 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4491, allocations: 0 / 0.5345 GB, free: 2.355 MB / 446.1 MB Notification: Performance of Templates: time 0.2649/0.714, allocations: 64.57 MB / 0.5975 GB, free: 48.25 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/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: 13.920988123863935]