Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 173.3 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.865e-05, allocations: 6.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01265/0.01268, allocations: 7.927 MB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006334/0.01901, allocations: 2.699 MB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.02033, allocations: 59.62 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.02219, allocations: 0.5977 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.02479, allocations: 0.7995 MB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.02557, allocations: 319.4 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00356/0.02913, allocations: 2.439 MB / 282.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.03082, allocations: 0.9891 MB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.03347, allocations: 1.583 MB / 284.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.03548, allocations: 1.177 MB / 285.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.03593, allocations: 280 kB / 286.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.03666, allocations: 363.8 kB / 286.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009577/0.03761, allocations: 0.8413 MB / 287.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.03889, allocations: 0.8614 MB / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1377/0.1766, allocations: 3.73 MB / 292 MB, free: 20.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1766, allocations: 0 / 292 MB, free: 20.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1766, allocations: 0 / 292 MB, free: 20.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.1767, allocations: 1.188 kB / 292 MB, free: 20.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006216/0.1829, allocations: 2.545 MB / 294.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.183, allocations: 10.11 kB / 294.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.184, allocations: 417.3 kB / 294.9 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.1866, allocations: 1.376 MB / 296.3 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1867, allocations: 132.6 kB / 296.4 MB, free: 18.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.1871, allocations: 192.6 kB / 296.6 MB, free: 18.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.1923, allocations: 2.507 MB / 299.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.898e-05/0.1924, allocations: 3.5 kB / 299.1 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.1926, allocations: 79.12 kB / 299.2 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.1927, allocations: 86.61 kB / 299.3 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.1962, allocations: 2.018 MB / 301.3 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.2072, allocations: 6.504 MB / 307.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.2086, allocations: 0.985 MB / 308.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.21, allocations: 0.8601 MB / 309.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.2102, allocations: 47.41 kB / 309.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2103, allocations: 43.44 kB / 309.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.795e-06/0.2103, allocations: 4 kB / 309.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.008039/0.2183, allocations: 4.704 MB / 314.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2183, allocations: 68.34 kB / 314.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.2197, allocations: 1.241 MB / 315.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-05/0.2198, allocations: 44.33 kB / 315.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.2202, allocations: 0.9217 MB / 316.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.2204, allocations: 365.9 kB / 317.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.2207, allocations: 218.9 kB / 317.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.2208, allocations: 349.9 kB / 317.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.2216, allocations: 0.635 MB / 318.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.2224, allocations: 0.9238 MB / 319.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2242, allocations: 1.648 MB / 320.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2242, allocations: 4 kB / 320.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003451/0.2276, allocations: 2.42 MB / 323.3 MB, free: 444 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2276, allocations: 11.98 kB / 323.3 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2276, allocations: 8 kB / 323.3 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/0.2302, allocations: 0.8953 MB / 324.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.2314, allocations: 233.7 kB / 324.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.2444, allocations: 8.432 MB / 332.9 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.2456, allocations: 79.86 kB / 332.9 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.2457, allocations: 48.16 kB / 333 MB, free: 6.578 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001255/0.247, allocations: 0.6329 MB / 333.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.2473, allocations: 171.1 kB / 333.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.2511, allocations: 1.878 MB / 335.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.2511, allocations: 12 kB / 335.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2512, allocations: 0 / 335.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.2512, allocations: 11.97 kB / 335.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/0.2584, allocations: 3.522 MB / 339.2 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2584, allocations: 224 / 339.2 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/0.2593, allocations: 194.9 kB / 339.4 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.2609, allocations: 483.7 kB / 339.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.261, allocations: 31.98 kB / 339.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007892/0.2689, allocations: 6.285 MB / 346.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2689, allocations: 0 / 346.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.2743, allocations: 2.796 MB / 349 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/0.2753, allocations: 274.6 kB / 349.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.2754, allocations: 20 kB / 349.3 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/0.2762, allocations: 71.91 kB / 349.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.2765, allocations: 80.84 kB / 349.4 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.2766, allocations: 31.98 kB / 349.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00148/0.278, allocations: 0.8543 MB / 350.3 MB, free: 4.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.278, allocations: 0 / 350.3 MB, free: 4.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001786/0.2798, allocations: 435.9 kB / 350.7 MB, free: 4.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004796/0.2803, allocations: 181 kB / 350.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.2841, allocations: 1.937 MB / 352.8 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.2841, allocations: 1.875 kB / 352.8 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.2865, allocations: 1.23 MB / 354.1 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.2883, allocations: 338.4 kB / 354.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.2955, allocations: 3.932 MB / 358.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.297, allocations: 1.125 MB / 359.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.2981, allocations: 305.2 kB / 359.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.2984, allocations: 96.23 kB / 359.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2984, allocations: 0 / 359.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of Templates: time 0.04364/0.342, allocations: 22.98 MB / 382.8 MB, free: 4.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.40533428802155]