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.001433/0.001433, allocations: 81.91 kB / 21.42 MB, free: 3.059 MB / 18.57 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.001489/0.001489, allocations: 161.2 kB / 24.81 MB, free: 8.91 MB / 18.57 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 1.026/1.026, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.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.243e-06/1.243e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.432e-05, allocations: 2.312 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007386/0.0074, allocations: 8.706 MB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.01157, allocations: 2.874 MB / 284.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.01212, allocations: 59.62 kB / 285 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009754/0.01309, allocations: 0.5976 MB / 285.6 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.01423, allocations: 0.8228 MB / 286.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.01462, allocations: 335.4 kB / 286.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.01619, allocations: 2.462 MB / 289.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009255/0.01712, allocations: 0.9892 MB / 290.2 MB, free: 256 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1231/0.1402, allocations: 1.748 MB / 291.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.1417, allocations: 1.227 MB / 293.2 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.1421, allocations: 271.5 kB / 293.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006152/0.1427, allocations: 374.1 kB / 293.8 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.1433, allocations: 0.8075 MB / 294.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.1441, allocations: 0.8623 MB / 295.5 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.1462, allocations: 2.023 MB / 297.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1462, allocations: 1.25 kB / 297.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1462, allocations: 0.9688 kB / 297.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.1462, allocations: 0 / 297.5 MB, free: 16.38 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.002967/0.1492, allocations: 2.627 MB / 300.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1492, allocations: 11.33 kB / 300.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.15, allocations: 444.8 kB / 300.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1512, allocations: 1.229 MB / 301.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.1513, allocations: 136.6 kB / 301.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.1515, allocations: 189 kB / 302.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.153, allocations: 1.363 MB / 303.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.153, allocations: 16.3 kB / 303.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.1531, allocations: 75.31 kB / 303.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.318e-05/0.1532, allocations: 85.92 kB / 303.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.154, allocations: 0.5228 MB / 304.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.1585, allocations: 5.944 MB / 310.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.1591, allocations: 0.5159 MB / 310.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.1596, allocations: 467.3 kB / 311.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.1597, allocations: 49.91 kB / 311.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.1597, allocations: 48.55 kB / 311.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.884e-06/0.1597, allocations: 0 / 311.2 MB, free: 9.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003014/0.1628, allocations: 2.176 MB / 313.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.1628, allocations: 68.09 kB / 313.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.1636, allocations: 1.078 MB / 314.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.1637, allocations: 45.7 kB / 314.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.1641, allocations: 1.014 MB / 315.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.1643, allocations: 380.9 kB / 315.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.1645, allocations: 225.9 kB / 316.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.1646, allocations: 0.5412 MB / 316.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1648, allocations: 146.5 kB / 316.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.1652, allocations: 0.5589 MB / 317.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.1658, allocations: 0.8159 MB / 318.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1658, allocations: 4 kB / 318.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00155/0.1674, allocations: 1.14 MB / 319.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1674, allocations: 12.25 kB / 319.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1674, allocations: 8 kB / 319.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.1685, allocations: 493.6 kB / 319.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.169, allocations: 221.3 kB / 320.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.1733, allocations: 5.399 MB / 325.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.1738, allocations: 47.94 kB / 325.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.1739, allocations: 32 kB / 325.5 MB, free: 12.04 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%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003353/0.1742, allocations: 222.5 kB / 325.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.1744, allocations: 182 kB / 325.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.1758, allocations: 0.8629 MB / 326.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1758, allocations: 12 kB / 326.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1758, allocations: 4 kB / 326.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.1758, allocations: 7.969 kB / 326.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.1788, allocations: 2.147 MB / 329 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1788, allocations: 4 kB / 329 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.1793, allocations: 155.1 kB / 329.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006617/0.18, allocations: 264.9 kB / 329.4 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.18, allocations: 27.98 kB / 329.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.1834, allocations: 6.039 MB / 335.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1834, allocations: 0 / 335.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.1851, allocations: 1.247 MB / 336.7 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.1854, allocations: 226 kB / 336.9 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.1856, allocations: 24 kB / 336.9 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.186, allocations: 35.98 kB / 337 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.1861, allocations: 84.78 kB / 337.1 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.1862, allocations: 22.89 kB / 337.1 MB, free: 300 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00057/0.1867, allocations: 0.6039 MB / 337.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1867, allocations: 0 / 337.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001037/0.1878, allocations: 427.9 kB / 338.1 MB, free: 15.32 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%), (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.0002571/0.188, allocations: 170.9 kB / 338.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.1895, allocations: 1.181 MB / 339.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1895, allocations: 0 / 339.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.1904, allocations: 0.9362 MB / 340.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.1915, allocations: 335.2 kB / 340.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.196, allocations: 3.353 MB / 344.1 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.1965, allocations: 0.5192 MB / 344.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004539/0.1969, allocations: 163.2 kB / 344.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/0.1975, allocations: 394 kB / 345.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1975, allocations: 0 / 345.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of Templates: time 0.03252/0.2301, allocations: 23.66 MB / 368.8 MB, free: 0.9844 MB / 314.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 -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.380589794833213]