Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001292/0.001292, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001382/0.001382, allocations: 156.5 kB / 24.55 MB, free: 12 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.9695/0.9695, allocations: 177 MB / 204.8 MB, free: 5.586 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.004e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008286/0.008306, allocations: 9.412 MB / 282.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.01226, allocations: 3.003 MB / 285.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.01271, allocations: 63.56 kB / 285.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.01369, allocations: 0.6248 MB / 286 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.01483, allocations: 0.8576 MB / 286.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.01525, allocations: 363.4 kB / 287.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.01712, allocations: 2.777 MB / 290 MB, free: 276 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1895/0.2067, allocations: 1.124 MB / 291.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.2111, allocations: 1.951 MB / 293.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.2137, allocations: 1.371 MB / 294.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.2148, allocations: 299.5 kB / 294.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.2161, allocations: 397.7 kB / 295.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.2172, allocations: 0.9005 MB / 296.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004092/0.2213, allocations: 0.9615 MB / 297 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004762/0.2261, allocations: 2.276 MB / 299.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.2261, allocations: 0 / 299.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2261, allocations: 1.312 kB / 299.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001585/0.2262, allocations: 1.156 kB / 299.3 MB, free: 15.46 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006419/0.2326, allocations: 2.978 MB / 302.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.2327, allocations: 12.58 kB / 302.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.2339, allocations: 0.4907 MB / 302.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.2368, allocations: 1.431 MB / 304.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.2369, allocations: 156.5 kB / 304.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.2372, allocations: 204.3 kB / 304.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.2401, allocations: 1.682 MB / 306.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/0.2402, allocations: 6.625 kB / 306.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.2403, allocations: 88.69 kB / 306.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.732e-05/0.2404, allocations: 94.23 kB / 306.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.242, allocations: 0.7522 MB / 307.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007811/0.2498, allocations: 6.894 MB / 314.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009382/0.2507, allocations: 0.7151 MB / 314.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.2515, allocations: 0.5665 MB / 315.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.2516, allocations: 56.91 kB / 315.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2517, allocations: 50.33 kB / 315.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.948e-06/0.2517, allocations: 0 / 315.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005085/0.2568, allocations: 3.104 MB / 318.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2568, allocations: 64.41 kB / 318.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2579, allocations: 1.227 MB / 319.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.258, allocations: 45.7 kB / 319.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.2585, allocations: 1.109 MB / 321 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.2588, allocations: 442 kB / 321.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.2591, allocations: 261.2 kB / 321.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2593, allocations: 0.5472 MB / 322.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2597, allocations: 227.2 kB / 322.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.2603, allocations: 0.6709 MB / 323.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2613, allocations: 1.014 MB / 324.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.2613, allocations: 4 kB / 324.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001856/0.2632, allocations: 1.259 MB / 325.4 MB, free: 11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.2632, allocations: 8 kB / 325.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.2632, allocations: 8 kB / 325.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.2638, allocations: 225.9 kB / 325.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.2645, allocations: 318.5 kB / 326 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.2674, allocations: 4.42 MB / 330.4 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.2683, allocations: 75.88 kB / 330.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.2684, allocations: 56 kB / 330.5 MB, free: 5.684 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007224/0.2691, allocations: 247.5 kB / 330.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.2694, allocations: 203 kB / 330.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.2709, allocations: 1.064 MB / 332 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2709, allocations: 12 kB / 332 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2709, allocations: 7.938 kB / 332 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2709, allocations: 7.969 kB / 332 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/0.2752, allocations: 2.939 MB / 335 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2752, allocations: 4 kB / 335 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.2757, allocations: 206.2 kB / 335.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/0.2764, allocations: 283 kB / 335.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.2765, allocations: 27.98 kB / 335.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/0.2801, allocations: 6.176 MB / 341.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.2801, allocations: 3.938 kB / 341.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.2826, allocations: 1.545 MB / 343.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/0.2832, allocations: 286.8 kB / 343.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.2833, allocations: 31.98 kB / 343.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.2838, allocations: 59.94 kB / 343.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.284, allocations: 108.7 kB / 343.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.284, allocations: 39.98 kB / 343.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009238/0.285, allocations: 0.7168 MB / 344.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.285, allocations: 0 / 344.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001369/0.2863, allocations: 455.9 kB / 344.9 MB, free: 6.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003474/0.2867, allocations: 198.9 kB / 345.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.2886, allocations: 1.283 MB / 346.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.2886, allocations: 4 kB / 346.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2896, allocations: 1.071 MB / 347.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.2909, allocations: 402.2 kB / 347.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.2968, allocations: 3.772 MB / 351.6 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.2974, allocations: 0.5751 MB / 352.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000896/0.2983, allocations: 300.5 kB / 352.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.2985, allocations: 108.5 kB / 352.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 2.465e-06/0.2985, allocations: 0 / 352.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.03278/0.3313, allocations: 25.08 MB / 377.7 MB, free: 6.367 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.494489510077983]