Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.0007846/0.0007846, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009338/0.001718, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009213/0.0009213, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008699/0.001791, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9235/0.9235, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0819/1.005, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.964e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.006774/0.006793, allocations: 8.803 MB / 253.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.01171, allocations: 3.076 MB / 256.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009771/0.01268, allocations: 59.62 kB / 257 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.01397, allocations: 0.6171 MB / 257.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.0157, allocations: 0.8072 MB / 258.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.0163, allocations: 335.4 kB / 258.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.01844, allocations: 2.485 MB / 261.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009996/0.01944, allocations: 1.013 MB / 262.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.02162, allocations: 1.919 MB / 264.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.02278, allocations: 1.22 MB / 265.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.02306, allocations: 272 kB / 265.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.02357, allocations: 379.7 kB / 266 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.024, allocations: 0.6585 MB / 266.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006825/0.02468, allocations: 0.7097 MB / 267.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.02635, allocations: 1.9 MB / 269.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625e-05/0.02637, allocations: 0 / 269.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02637, allocations: 4 kB / 269.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.876e-05/0.02641, allocations: 0 / 269.3 MB, free: 5.238 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.002737/0.02914, allocations: 2.823 MB / 272.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.02918, allocations: 12.62 kB / 272.1 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/0.02985, allocations: 449.6 kB / 272.5 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.03099, allocations: 0.9437 MB / 273.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.03106, allocations: 140 kB / 273.6 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.03123, allocations: 192.2 kB / 273.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1118/0.143, allocations: 1.384 MB / 275.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.1431, allocations: 11.14 kB / 275.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.1432, allocations: 72.36 kB / 275.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/0.1432, allocations: 84.22 kB / 275.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.144, allocations: 0.5203 MB / 275.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.1497, allocations: 4.793 MB / 280.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.1504, allocations: 0.5318 MB / 281.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.1509, allocations: 439.4 kB / 281.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.1511, allocations: 46.44 kB / 281.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1511, allocations: 40.03 kB / 281.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.365e-06/0.1511, allocations: 2.656 kB / 281.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003841/0.1549, allocations: 2.199 MB / 283.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.155, allocations: 65.78 kB / 284 MB, free: 11.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.1557, allocations: 0.8931 MB / 284.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.1557, allocations: 41.52 kB / 284.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.156, allocations: 0.7682 MB / 285.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1561, allocations: 364.7 kB / 286 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.1563, allocations: 211.4 kB / 286.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.1564, allocations: 355.4 kB / 286.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1566, allocations: 140.7 kB / 286.7 MB, free: 10 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.1569, allocations: 432.8 kB / 287.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.1575, allocations: 0.6973 MB / 287.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1575, allocations: 8.062 kB / 287.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001181/0.1587, allocations: 0.93 MB / 288.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1587, allocations: 9.625 kB / 288.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1588, allocations: 10.16 kB / 288.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000886/0.1596, allocations: 485.3 kB / 289.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.1601, allocations: 252 kB / 289.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.163, allocations: 4.161 MB / 293.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.1635, allocations: 50.22 kB / 293.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.1636, allocations: 35.73 kB / 293.8 MB, free: 6.59 MB / 266.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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003825/0.164, allocations: 187.2 kB / 294 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1641, allocations: 121.7 kB / 294.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008466/0.165, allocations: 0.7419 MB / 294.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.165, allocations: 10.41 kB / 294.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.165, allocations: 4.391 kB / 294.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.165, allocations: 8.109 kB / 294.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1672, allocations: 1.841 MB / 296.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1672, allocations: 0 / 296.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.1677, allocations: 192.5 kB / 296.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.1679, allocations: 184.3 kB / 297 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005543/0.1685, allocations: 294.2 kB / 297.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.1685, allocations: 27.67 kB / 297.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.1703, allocations: 4.379 MB / 301.7 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1703, allocations: 8.031 kB / 301.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1714, allocations: 1.061 MB / 302.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.1715, allocations: 24 kB / 302.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.1718, allocations: 39.97 kB / 302.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1719, allocations: 85.95 kB / 303 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.1719, allocations: 20 kB / 303 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003619/0.1723, allocations: 454 kB / 303.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1723, allocations: 0 / 303.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009971/0.1733, allocations: 420 kB / 303.8 MB, free: 14.92 MB / 282.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/0.1736, allocations: 165.6 kB / 304 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.1748, allocations: 0.9944 MB / 305 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.951e-05/0.1748, allocations: 32.62 kB / 305 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.1755, allocations: 0.7388 MB / 305.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.1763, allocations: 444.1 kB / 306.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.1896, allocations: 3.321 MB / 309.5 MB, free: 9.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.19, allocations: 463.8 kB / 310 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005931/0.1906, allocations: 171.1 kB / 310.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.1912, allocations: 338 kB / 310.5 MB, free: 8.266 MB / 282.7 MB Notification: Performance of SimCode: time 2.384e-06/0.1912, allocations: 0 / 310.5 MB, free: 8.266 MB / 282.7 MB Notification: Performance of Templates: time 0.03067/0.2219, allocations: 24.49 MB / 334.9 MB, free: 212 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.1884713638573885]