Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001115/0.001115, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001074/0.001074, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.049e-05, allocations: 2.312 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01172/0.01175, allocations: 8.925 MB / 281.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006518/0.01827, allocations: 2.894 MB / 284.8 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.01943, allocations: 59.62 kB / 284.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.02075, allocations: 0.5938 MB / 285.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.02257, allocations: 0.8111 MB / 286.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.02317, allocations: 335.4 kB / 286.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002578/0.02575, allocations: 2.458 MB / 289.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.027, allocations: 0.9891 MB / 290.1 MB, free: 196 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1395/0.1665, allocations: 1.603 MB / 291.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.1688, allocations: 1.274 MB / 292.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007904/0.1696, allocations: 278.7 kB / 293.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009481/0.1705, allocations: 377.6 kB / 293.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008332/0.1713, allocations: 0.8461 MB / 294.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.1734, allocations: 0.8793 MB / 295.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.1767, allocations: 2.052 MB / 297.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.1767, allocations: 0 / 297.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1767, allocations: 0 / 297.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001063/0.1768, allocations: 0.9375 kB / 297.4 MB, free: 15.71 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.006164/0.1829, allocations: 2.74 MB / 300.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.183, allocations: 9.781 kB / 300.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.1842, allocations: 447.9 kB / 300.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.1866, allocations: 1.283 MB / 301.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.1867, allocations: 140.5 kB / 302 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.187, allocations: 180.9 kB / 302.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.1896, allocations: 1.485 MB / 303.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.1897, allocations: 13.73 kB / 303.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.1898, allocations: 76.34 kB / 303.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.331e-05/0.1899, allocations: 87.33 kB / 303.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.1915, allocations: 0.6577 MB / 304.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007259/0.1988, allocations: 6.129 MB / 310.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.1998, allocations: 0.5468 MB / 311.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.2006, allocations: 0.4998 MB / 311.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.2008, allocations: 46.91 kB / 311.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2008, allocations: 47.55 kB / 311.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.926e-06/0.2008, allocations: 0 / 311.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004469/0.2053, allocations: 2.704 MB / 314.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2053, allocations: 60.41 kB / 314.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.2065, allocations: 1.109 MB / 315.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.2065, allocations: 45.7 kB / 315.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.2069, allocations: 1.011 MB / 316.6 MB, free: 4.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.2072, allocations: 367.1 kB / 317 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.2074, allocations: 220.5 kB / 317.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2075, allocations: 0.5238 MB / 317.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.2078, allocations: 206.5 kB / 317.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.2082, allocations: 0.598 MB / 318.5 MB, free: 2.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/0.209, allocations: 0.9044 MB / 319.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.209, allocations: 0 / 319.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001761/0.2108, allocations: 1.304 MB / 320.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2108, allocations: 8 kB / 320.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2108, allocations: 15.88 kB / 320.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.2121, allocations: 0.5299 MB / 321.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.2126, allocations: 229.6 kB / 321.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.2177, allocations: 5.813 MB / 327.3 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.2185, allocations: 87.98 kB / 327.4 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.2186, allocations: 44 kB / 327.5 MB, free: 9.074 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.0006999/0.2193, allocations: 225.4 kB / 327.7 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.2195, allocations: 179 kB / 327.9 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.2209, allocations: 0.9628 MB / 328.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2209, allocations: 15.98 kB / 328.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2209, allocations: 4 kB / 328.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2209, allocations: 7.922 kB / 328.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.2248, allocations: 2.624 MB / 331.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2248, allocations: 7.938 kB / 331.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.2254, allocations: 174.9 kB / 331.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007106/0.2261, allocations: 289.9 kB / 331.9 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-05/0.2262, allocations: 28.05 kB / 332 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.2304, allocations: 6.241 MB / 338.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2304, allocations: 7.938 kB / 338.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.2326, allocations: 1.377 MB / 339.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/0.2332, allocations: 263 kB / 339.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2333, allocations: 27.98 kB / 339.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.2337, allocations: 63.94 kB / 339.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.2339, allocations: 88.3 kB / 340 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.2339, allocations: 35.98 kB / 340.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008304/0.2348, allocations: 0.6582 MB / 340.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2348, allocations: 0 / 340.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00141/0.2362, allocations: 435.9 kB / 341.1 MB, free: 10.96 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.0003675/0.2366, allocations: 185.2 kB / 341.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.2383, allocations: 1.306 MB / 342.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2383, allocations: 0 / 342.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.2393, allocations: 1.047 MB / 343.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.2403, allocations: 338.2 kB / 344 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.245, allocations: 3.387 MB / 347.4 MB, free: 4.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.2454, allocations: 0.5114 MB / 347.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005225/0.2459, allocations: 250 kB / 348.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.2461, allocations: 92.48 kB / 348.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2461, allocations: 0 / 348.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of Templates: time 0.03026/0.2764, allocations: 23.26 MB / 371.5 MB, free: 12.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.739226156845689]