Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 76.41 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 172.3 kB / 25.61 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9054/0.9054, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 4 kB / 274.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/3.053e-05, allocations: 4.125 kB / 274.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01166/0.01169, allocations: 9.142 MB / 283.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006833/0.01852, allocations: 2.971 MB / 286.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.0203, allocations: 59.62 kB / 286.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.02224, allocations: 0.6325 MB / 287 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.02501, allocations: 0.8577 MB / 287.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.0258, allocations: 367.3 kB / 288.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.02887, allocations: 2.761 MB / 291 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.0306, allocations: 1.132 MB / 292.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003355/0.03395, allocations: 1.941 MB / 294.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.03595, allocations: 1.38 MB / 295.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.03637, allocations: 300 kB / 295.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007134/0.03708, allocations: 395.8 kB / 296.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007836/0.03787, allocations: 0.9036 MB / 297 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.03922, allocations: 0.9627 MB / 298 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.04235, allocations: 2.27 MB / 300.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.04235, allocations: 0 / 300.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04235, allocations: 0 / 300.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.924e-05/0.0424, allocations: 3.938 kB / 300.3 MB, free: 10.3 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.004633/0.04704, allocations: 2.91 MB / 303.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.04709, allocations: 15.98 kB / 303.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.04839, allocations: 491.1 kB / 303.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.05018, allocations: 1.338 MB / 305 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.05028, allocations: 160.3 kB / 305.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.05051, allocations: 220.3 kB / 305.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.05266, allocations: 1.555 MB / 306.9 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.0527, allocations: 3.953 kB / 306.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.05283, allocations: 87.98 kB / 307 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.563e-05/0.0529, allocations: 95.92 kB / 307.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.05391, allocations: 0.5887 MB / 307.7 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00711/0.06102, allocations: 6.795 MB / 314.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.0618, allocations: 0.6378 MB / 315.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.06251, allocations: 0.5137 MB / 315.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.06267, allocations: 48.92 kB / 315.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.0627, allocations: 50.39 kB / 315.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.464e-06/0.0627, allocations: 0 / 315.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.004226/0.06693, allocations: 2.485 MB / 318.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.06696, allocations: 68.41 kB / 318.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009552/0.06792, allocations: 1.206 MB / 319.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.06799, allocations: 45.7 kB / 319.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.06855, allocations: 1.113 MB / 320.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.0688, allocations: 448.2 kB / 321.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.06908, allocations: 269 kB / 321.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.06925, allocations: 0.5471 MB / 321.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.06948, allocations: 175.8 kB / 322.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.06994, allocations: 0.6209 MB / 322.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/0.0707, allocations: 0.917 MB / 323.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0707, allocations: 0 / 323.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00135/0.07205, allocations: 1.131 MB / 324.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.07207, allocations: 11.94 kB / 324.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.07208, allocations: 12 kB / 324.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.07259, allocations: 222.8 kB / 325 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.07319, allocations: 295.6 kB / 325.3 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.07552, allocations: 4.28 MB / 329.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.07594, allocations: 47.98 kB / 329.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.076, allocations: 43.98 kB / 329.7 MB, free: 11.67 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.0003309/0.07633, allocations: 240.2 kB / 329.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.07654, allocations: 210.9 kB / 330.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.07772, allocations: 0.9601 MB / 331.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.07772, allocations: 12 kB / 331.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.07773, allocations: 4 kB / 331.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.07774, allocations: 3.984 kB / 331.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.0806, allocations: 2.421 MB / 333.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.0806, allocations: 0 / 333.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.08107, allocations: 191.7 kB / 333.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005456/0.08161, allocations: 265.2 kB / 333.9 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.08167, allocations: 35.97 kB / 334 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002849/0.08452, allocations: 6.025 MB / 340 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.08452, allocations: 7.938 kB / 340 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.08606, allocations: 1.403 MB / 341.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.0864, allocations: 258.8 kB / 341.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.08653, allocations: 28 kB / 341.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.08689, allocations: 47.91 kB / 341.7 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.08703, allocations: 92.77 kB / 341.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.08707, allocations: 27.98 kB / 341.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004899/0.08756, allocations: 0.6655 MB / 342.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08756, allocations: 0 / 342.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009425/0.0885, allocations: 455.9 kB / 343 MB, free: 13.77 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.0002626/0.08877, allocations: 194 kB / 343.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.08995, allocations: 1.148 MB / 344.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.08995, allocations: 1.875 kB / 344.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.09079, allocations: 0.9965 MB / 345.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.0919, allocations: 397.9 kB / 345.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.09622, allocations: 3.742 MB / 349.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.09669, allocations: 0.5633 MB / 350 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.09718, allocations: 192.7 kB / 350.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/0.09786, allocations: 449.9 kB / 350.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.09786, allocations: 0 / 350.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of Templates: time 0.1306/0.2284, allocations: 26.01 MB / 376.6 MB, free: 71.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4439294668845832]