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.001087/0.001087, allocations: 84.34 kB / 22.21 MB, free: 2.281 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.00128/0.00128, allocations: 161.8 kB / 25.61 MB, free: 8.57 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.028/1.028, allocations: 177 MB / 205.9 MB, free: 4.422 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.162e-06/1.162e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.601e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007416/0.007432, allocations: 9.169 MB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.01133, allocations: 2.983 MB / 286.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/0.01182, allocations: 59.62 kB / 286.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009829/0.01281, allocations: 0.6326 MB / 287 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.01394, allocations: 0.8576 MB / 287.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.01437, allocations: 367.4 kB / 288.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.01623, allocations: 2.773 MB / 291 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.01753, allocations: 1.128 MB / 292.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.01943, allocations: 1.961 MB / 294 MB, free: 232 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.02083, allocations: 1.383 MB / 295.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.02114, allocations: 300 kB / 295.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.02168, allocations: 395.8 kB / 296.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006599/0.02234, allocations: 0.8959 MB / 297 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008782/0.02322, allocations: 0.9626 MB / 298 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.02538, allocations: 2.278 MB / 300.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.02538, allocations: 4 kB / 300.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.02538, allocations: 3.938 kB / 300.3 MB, free: 10 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.0254, allocations: 0 / 300.3 MB, free: 10 MB / 282.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.003527/0.02892, allocations: 2.906 MB / 303.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.02896, allocations: 12.02 kB / 303.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/0.02985, allocations: 491.2 kB / 303.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.03149, allocations: 1.35 MB / 305 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.0316, allocations: 164.3 kB / 305.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.03185, allocations: 200.3 kB / 305.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.03393, allocations: 1.555 MB / 306.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.03397, allocations: 8 kB / 306.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.03413, allocations: 83.98 kB / 307 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.322e-05/0.03422, allocations: 95.92 kB / 307.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.03534, allocations: 0.5926 MB / 307.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007562/0.0429, allocations: 6.795 MB / 314.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.04376, allocations: 0.6514 MB / 315.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008501/0.04461, allocations: 0.5059 MB / 315.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.04474, allocations: 40.98 kB / 315.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.04477, allocations: 50.38 kB / 315.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.625e-06/0.04477, allocations: 0 / 315.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.004796/0.04957, allocations: 2.483 MB / 318.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.0496, allocations: 64.41 kB / 318.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.05078, allocations: 1.203 MB / 319.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.05085, allocations: 49.7 kB / 319.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.05153, allocations: 1.121 MB / 320.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.05182, allocations: 448.2 kB / 321.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.05218, allocations: 265 kB / 321.3 MB, free: 4.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.05236, allocations: 0.551 MB / 321.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.05267, allocations: 171.8 kB / 322.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.05324, allocations: 0.6287 MB / 322.7 MB, free: 2.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.05424, allocations: 0.9092 MB / 323.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.05425, allocations: 8 kB / 323.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001722/0.05597, allocations: 1.139 MB / 324.7 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.05599, allocations: 15.94 kB / 324.8 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.056, allocations: 8 kB / 324.8 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.05658, allocations: 222.7 kB / 325 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/0.0574, allocations: 287.6 kB / 325.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.06019, allocations: 4.288 MB / 329.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.06073, allocations: 47.98 kB / 329.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/0.06081, allocations: 43.98 kB / 329.6 MB, free: 11.37 MB / 314.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.0003776/0.06119, allocations: 244.2 kB / 329.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.06144, allocations: 199 kB / 330.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.06298, allocations: 0.968 MB / 331 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.06299, allocations: 15.98 kB / 331.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.063, allocations: 4 kB / 331.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.06301, allocations: 3.984 kB / 331.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.06658, allocations: 2.417 MB / 333.5 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.06659, allocations: 4 kB / 333.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.0672, allocations: 196 kB / 333.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006871/0.06789, allocations: 262.3 kB / 333.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.06796, allocations: 31.98 kB / 334 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003485/0.07145, allocations: 6.025 MB / 340 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.07145, allocations: 7.938 kB / 340 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.07337, allocations: 1.399 MB / 341.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.07379, allocations: 266.8 kB / 341.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.07394, allocations: 27.98 kB / 341.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.07442, allocations: 43.98 kB / 341.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.07459, allocations: 100.7 kB / 341.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/0.07465, allocations: 27.98 kB / 341.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006316/0.07528, allocations: 0.6541 MB / 342.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07528, allocations: 0 / 342.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001031/0.07631, allocations: 452 kB / 343 MB, free: 13.47 MB / 330.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.0002703/0.07658, allocations: 185.2 kB / 343.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.07799, allocations: 1.157 MB / 344.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.07799, allocations: 4 kB / 344.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007698/0.07876, allocations: 0.9937 MB / 345.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.08003, allocations: 412.6 kB / 345.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.08475, allocations: 3.737 MB / 349.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.08516, allocations: 0.575 MB / 350 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004077/0.08557, allocations: 188.7 kB / 350.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.0862, allocations: 441.9 kB / 350.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0862, allocations: 4 kB / 350.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of Templates: time 0.1314/0.2176, allocations: 26.02 MB / 376.6 MB, free: 69.67 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.6670364676974714]