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.001477/0.001477, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001671/0.001671, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9371/0.9371, allocations: 177 MB / 204.8 MB, free: 5.582 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 2.063e-06/2.063e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.379e-05, allocations: 2.312 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01191/0.01194, allocations: 8.933 MB / 281.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006632/0.01857, allocations: 2.906 MB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.0202, allocations: 59.62 kB / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.02195, allocations: 0.5938 MB / 285.4 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.02484, allocations: 0.815 MB / 286.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.02575, allocations: 339.3 kB / 286.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.02895, allocations: 2.464 MB / 289 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.03046, allocations: 0.9853 MB / 290 MB, free: 220 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.129/0.1595, allocations: 1.75 MB / 291.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.1617, allocations: 1.223 MB / 293 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005994/0.1623, allocations: 270.3 kB / 293.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008784/0.1632, allocations: 373.1 kB / 293.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006479/0.1639, allocations: 0.8108 MB / 294.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.1652, allocations: 0.8596 MB / 295.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.1676, allocations: 2.012 MB / 297.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1676, allocations: 3.938 kB / 297.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1676, allocations: 0.7969 kB / 297.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.888e-05/0.1676, allocations: 1.125 kB / 297.3 MB, free: 15.73 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.004101/0.1717, allocations: 2.694 MB / 300 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1718, allocations: 8.156 kB / 300 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.1729, allocations: 447.5 kB / 300.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.1746, allocations: 1.301 MB / 301.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/0.1747, allocations: 133.5 kB / 301.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.1749, allocations: 187.1 kB / 302.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.1772, allocations: 1.478 MB / 303.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.1773, allocations: 13.41 kB / 303.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.1774, allocations: 78.41 kB / 303.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.1775, allocations: 87.89 kB / 303.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.1788, allocations: 0.6525 MB / 304.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/0.1851, allocations: 6.032 MB / 310.4 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.1858, allocations: 0.5711 MB / 311 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/0.1865, allocations: 0.5072 MB / 311.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.1867, allocations: 51.59 kB / 311.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1867, allocations: 45.98 kB / 311.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.899e-06/0.1867, allocations: 0 / 311.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004033/0.1908, allocations: 2.657 MB / 314.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1908, allocations: 72.33 kB / 314.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/0.1917, allocations: 1.106 MB / 315.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.1917, allocations: 48.98 kB / 315.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.192, allocations: 1.017 MB / 316.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1922, allocations: 367.3 kB / 316.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.1923, allocations: 224.5 kB / 317 MB, free: 3.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.1924, allocations: 0.5238 MB / 317.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1927, allocations: 199.1 kB / 317.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.193, allocations: 0.5998 MB / 318.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.1937, allocations: 0.8963 MB / 319.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1937, allocations: 0 / 319.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00151/0.1952, allocations: 1.279 MB / 320.5 MB, free: 100 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.1953, allocations: 15.12 kB / 320.5 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1953, allocations: 11.31 kB / 320.6 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.1964, allocations: 0.497 MB / 321.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.1968, allocations: 237.1 kB / 321.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/0.2014, allocations: 5.696 MB / 327 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007998/0.2022, allocations: 71.89 kB / 327.1 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.2023, allocations: 48.12 kB / 327.1 MB, free: 9.34 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.0005897/0.2029, allocations: 222.7 kB / 327.3 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.2031, allocations: 171.1 kB / 327.5 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.2044, allocations: 0.9539 MB / 328.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2044, allocations: 12 kB / 328.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2044, allocations: 4 kB / 328.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2044, allocations: 3.984 kB / 328.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.2077, allocations: 2.609 MB / 331.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2077, allocations: 0 / 331.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.2081, allocations: 177.8 kB / 331.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005955/0.2087, allocations: 266.4 kB / 331.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.2087, allocations: 27.98 kB / 331.5 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/0.2121, allocations: 6.175 MB / 337.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2121, allocations: 3.938 kB / 337.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.2138, allocations: 1.372 MB / 339.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.2142, allocations: 243 kB / 339.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.2143, allocations: 35.92 kB / 339.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.2147, allocations: 51.95 kB / 339.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.2148, allocations: 92.02 kB / 339.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.2149, allocations: 23.98 kB / 339.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006757/0.2155, allocations: 0.6585 MB / 340.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2155, allocations: 0 / 340.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001111/0.2167, allocations: 423.9 kB / 340.6 MB, free: 11.42 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.0002913/0.2169, allocations: 185.4 kB / 340.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2184, allocations: 1.264 MB / 342 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.2184, allocations: 0 / 342 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008562/0.2193, allocations: 1.006 MB / 343 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/0.2201, allocations: 339.9 kB / 343.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.2243, allocations: 3.38 MB / 346.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.2247, allocations: 0.5153 MB / 347.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004816/0.2252, allocations: 251 kB / 347.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.2254, allocations: 88.5 kB / 347.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2254, allocations: 0 / 347.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of Templates: time 0.02753/0.2529, allocations: 23.23 MB / 370.8 MB, free: 13.43 MB / 330.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.360941882710904]