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.002576/0.002576, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002745/0.002745, allocations: 165.3 kB / 24.27 MB, free: 152 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.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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_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.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.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.15e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.02157/0.0216, allocations: 8.863 MB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009645/0.03125, allocations: 2.886 MB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.03258, allocations: 55.62 kB / 284.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.03526, allocations: 0.5977 MB / 284.7 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.0391, allocations: 0.8072 MB / 285.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.04048, allocations: 335.5 kB / 285.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005073/0.04556, allocations: 2.458 MB / 288.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.04811, allocations: 0.9814 MB / 289.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1197/0.1678, allocations: 1.606 MB / 290.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.1699, allocations: 1.275 MB / 292.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005101/0.1704, allocations: 279.5 kB / 292.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008605/0.1712, allocations: 373 kB / 292.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008075/0.172, allocations: 0.8464 MB / 293.7 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.1733, allocations: 0.8797 MB / 294.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.1776, allocations: 3.776 MB / 298.3 MB, free: 16.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1776, allocations: 0 / 298.3 MB, free: 16.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1776, allocations: 2.531 kB / 298.3 MB, free: 16.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.483e-05/0.1777, allocations: 0 / 298.3 MB, free: 16.41 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.006184/0.1839, allocations: 2.929 MB / 301.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1839, allocations: 16.34 kB / 301.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.1853, allocations: 452.7 kB / 301.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.1877, allocations: 1.31 MB / 303 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1878, allocations: 133.2 kB / 303.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.1881, allocations: 189.9 kB / 303.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/0.1919, allocations: 2.308 MB / 305.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.1919, allocations: 3.953 kB / 305.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.1921, allocations: 79.62 kB / 305.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.1922, allocations: 87.27 kB / 305.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.1948, allocations: 1.497 MB / 307.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.2061, allocations: 8.619 MB / 315.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.2074, allocations: 0.6956 MB / 316.6 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.2087, allocations: 0.622 MB / 317.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.2089, allocations: 48.97 kB / 317.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2089, allocations: 42.39 kB / 317.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.209, allocations: 0 / 317.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.006843/0.2158, allocations: 3.17 MB / 320.5 MB, free: 212 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2158, allocations: 64.41 kB / 320.6 MB, free: 136 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.2182, allocations: 1.484 MB / 322 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.2183, allocations: 41.7 kB / 322.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.2193, allocations: 1.077 MB / 323.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.2198, allocations: 410.9 kB / 323.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/0.2203, allocations: 260.5 kB / 323.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003886/0.2207, allocations: 0.5668 MB / 324.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.2214, allocations: 334.4 kB / 324.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.2227, allocations: 0.7681 MB / 325.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.2247, allocations: 1.207 MB / 326.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2247, allocations: 0 / 326.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003789/0.2285, allocations: 1.588 MB / 328.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2285, allocations: 8 kB / 328.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.2286, allocations: 16.81 kB / 328.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.2308, allocations: 0.5508 MB / 328.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/0.2317, allocations: 233.8 kB / 329.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009611/0.2413, allocations: 6.192 MB / 335.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.2426, allocations: 83.81 kB / 335.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.2427, allocations: 47.98 kB / 335.4 MB, free: 0.8359 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.00118/0.2439, allocations: 0.5289 MB / 335.9 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.2442, allocations: 175.1 kB / 336.1 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.2472, allocations: 1.165 MB / 337.3 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2472, allocations: 12 kB / 337.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2472, allocations: 4 kB / 337.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.2472, allocations: 7.922 kB / 337.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/0.2545, allocations: 3.284 MB / 340.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.2545, allocations: 3.938 kB / 340.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.2553, allocations: 178.4 kB / 340.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.2566, allocations: 308 kB / 341.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/0.2567, allocations: 27.92 kB / 341.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007218/0.2639, allocations: 6.391 MB / 347.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.2639, allocations: 10.84 kB / 347.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.2678, allocations: 1.705 MB / 349.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009709/0.2688, allocations: 255 kB / 349.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.269, allocations: 24 kB / 349.5 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007901/0.2698, allocations: 67.92 kB / 349.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.2701, allocations: 88.83 kB / 349.6 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/0.2701, allocations: 36.05 kB / 349.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001627/0.2718, allocations: 0.8961 MB / 350.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2718, allocations: 0 / 350.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00201/0.2738, allocations: 435.9 kB / 351 MB, free: 0.8828 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.0003965/0.2742, allocations: 181.1 kB / 351.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.2776, allocations: 1.571 MB / 352.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2776, allocations: 0.5625 kB / 352.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.2797, allocations: 1.169 MB / 353.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.2815, allocations: 335 kB / 354.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.2884, allocations: 3.551 MB / 357.8 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.29, allocations: 1.044 MB / 358.8 MB, free: 8.914 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000934/0.291, allocations: 239 kB / 359 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.2913, allocations: 92.48 kB / 359.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of SimCode: time 2.234e-06/0.2913, allocations: 7.938 kB / 359.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of Templates: time 0.04608/0.3374, allocations: 23.23 MB / 382.4 MB, free: 1.711 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.618672168930061]