Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000931/0.000931, allocations: 139.1 kB / 24.97 MB, free: 8.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9808/0.9808, allocations: 173.4 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.824e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00816/0.008178, allocations: 9.321 MB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.01199, allocations: 2.913 MB / 280.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005786/0.01257, allocations: 59.62 kB / 280.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.01359, allocations: 0.6326 MB / 281 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.01488, allocations: 0.8422 MB / 281.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.0153, allocations: 355.3 kB / 282.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.01733, allocations: 2.749 MB / 285 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009936/0.01832, allocations: 1.132 MB / 286.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.0196, allocations: 1.785 MB / 287.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.0208, allocations: 1.423 MB / 289.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004944/0.0213, allocations: 312 kB / 289.6 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.0217, allocations: 391.8 kB / 290 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1611/0.1828, allocations: 0.9399 MB / 290.9 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.1849, allocations: 0.9734 MB / 291.9 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.188, allocations: 2.293 MB / 294.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.188, allocations: 3.5 kB / 294.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.188, allocations: 1.031 kB / 294.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.619e-05/0.1881, allocations: 0 / 294.2 MB, free: 18.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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005089/0.1932, allocations: 3.006 MB / 297.2 MB, free: 17.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1932, allocations: 11.55 kB / 297.2 MB, free: 17.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.194, allocations: 474.4 kB / 297.7 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1957, allocations: 1.39 MB / 299.1 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.1958, allocations: 152 kB / 299.2 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.196, allocations: 209.7 kB / 299.4 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.1987, allocations: 1.686 MB / 301.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.1987, allocations: 10.95 kB / 301.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.1989, allocations: 83.31 kB / 301.2 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-05/0.199, allocations: 95.53 kB / 301.3 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.2005, allocations: 0.7589 MB / 302 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007638/0.2081, allocations: 6.991 MB / 309 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.2091, allocations: 0.6887 MB / 309.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009718/0.2101, allocations: 0.5649 MB / 310.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.2103, allocations: 53.28 kB / 310.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2103, allocations: 49.98 kB / 310.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.2103, allocations: 0 / 310.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005651/0.2159, allocations: 3.162 MB / 313.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.216, allocations: 62.12 kB / 313.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.2172, allocations: 1.23 MB / 314.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.2173, allocations: 45.7 kB / 314.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.2177, allocations: 1.098 MB / 316 MB, free: 8.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.2179, allocations: 446.2 kB / 316.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.2182, allocations: 265.1 kB / 316.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.2183, allocations: 0.5433 MB / 317.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.2188, allocations: 227.8 kB / 317.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.2193, allocations: 0.6714 MB / 318.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.2205, allocations: 1.005 MB / 319.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.2205, allocations: 4 kB / 319.1 MB, free: 5.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001963/0.2224, allocations: 1.267 MB / 320.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2224, allocations: 12.62 kB / 320.4 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.2225, allocations: 11.98 kB / 320.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.2231, allocations: 222.6 kB / 320.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.2239, allocations: 326.2 kB / 321 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.2265, allocations: 4.426 MB / 325.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.2272, allocations: 87.91 kB / 325.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.2273, allocations: 55.98 kB / 325.5 MB, free: 14.5 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.0004416/0.2277, allocations: 236.9 kB / 325.7 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.228, allocations: 206.9 kB / 326 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.2299, allocations: 1.063 MB / 327 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.2299, allocations: 15.98 kB / 327 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2299, allocations: 9.25 kB / 327 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.2299, allocations: 3.984 kB / 327 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.2345, allocations: 2.959 MB / 330 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2345, allocations: 4 kB / 330 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.2352, allocations: 220.7 kB / 330.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008224/0.236, allocations: 290.6 kB / 330.5 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/0.2361, allocations: 31.48 kB / 330.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/0.2401, allocations: 6.249 MB / 336.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2401, allocations: 0 / 336.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.2425, allocations: 1.552 MB / 338.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.243, allocations: 298.9 kB / 338.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.2432, allocations: 28 kB / 338.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006573/0.2498, allocations: 79.91 kB / 338.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.25, allocations: 108.6 kB / 338.8 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.25, allocations: 35.98 kB / 338.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008793/0.2509, allocations: 0.7162 MB / 339.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2509, allocations: 0 / 339.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001164/0.2521, allocations: 456 kB / 340 MB, free: 15.52 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%), (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.006318/0.2584, allocations: 188.1 kB / 340.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.2602, allocations: 1.296 MB / 341.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2602, allocations: 192 / 341.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007216/0.2674, allocations: 1.108 MB / 342.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.2687, allocations: 390.2 kB / 343 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.28, allocations: 3.765 MB / 346.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.2805, allocations: 0.5672 MB / 347.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007018/0.2812, allocations: 300.5 kB / 347.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.2815, allocations: 108.5 kB / 347.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2815, allocations: 0 / 347.7 MB, free: 7.699 MB / 298.7 MB Notification: Performance of Templates: time 0.04452/0.326, allocations: 24.58 MB / 372.3 MB, free: 15.51 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.529822891112417]