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.001845/0.001845, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002187/0.002187, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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 0.001504/0.001504, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3023, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01132/0.3136, allocations: 8.368 MB / 440 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.32, allocations: 2.875 MB / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3212, allocations: 63.56 kB / 442.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.3228, allocations: 0.6285 MB / 443.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.3252, allocations: 0.8196 MB / 444.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008983/0.3261, allocations: 363.5 kB / 444.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.3295, allocations: 2.673 MB / 447.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.3313, allocations: 1.16 MB / 448.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3332, allocations: 1.234 MB / 449.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.3356, allocations: 1.537 MB / 451.3 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.3362, allocations: 308 kB / 451.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.337, allocations: 411.8 kB / 452 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.338, allocations: 0.8998 MB / 452.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.3396, allocations: 1.144 MB / 454 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.3446, allocations: 4.138 MB / 458.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/0.3446, allocations: 3.984 kB / 458.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3446, allocations: 0 / 458.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.436e-05/0.3447, allocations: 0 / 458.2 MB, free: 11.97 MB / 366.1 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.006111/0.3508, allocations: 2.869 MB / 461.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3508, allocations: 8.031 kB / 461.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3519, allocations: 335.1 kB / 461.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.3551, allocations: 1.484 MB / 462.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.3552, allocations: 148.4 kB / 463 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.3556, allocations: 211.9 kB / 463.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.3607, allocations: 2.84 MB / 466.1 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/0.3607, allocations: 3.953 kB / 466.1 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.3609, allocations: 84 kB / 466.2 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.361, allocations: 91.94 kB / 466.2 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.3653, allocations: 2.326 MB / 468.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.3793, allocations: 7.242 MB / 475.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.3815, allocations: 1.239 MB / 477.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.3835, allocations: 1.019 MB / 478.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.3837, allocations: 48.97 kB / 478.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3838, allocations: 47.5 kB / 478.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.156e-06/0.3838, allocations: 0 / 478.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01399/0.3978, allocations: 5.924 MB / 484.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3978, allocations: 64.41 kB / 484.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.4, allocations: 1.393 MB / 485.5 MB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.677e-05/0.4001, allocations: 45.7 kB / 485.6 MB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.4009, allocations: 1.028 MB / 486.6 MB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.4013, allocations: 436.3 kB / 487 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004529/0.4018, allocations: 251.5 kB / 487.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.402, allocations: 357.9 kB / 487.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.4032, allocations: 0.7339 MB / 488.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.4048, allocations: 1.055 MB / 489.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.4077, allocations: 1.875 MB / 491.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.4077, allocations: 8 kB / 491.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004382/0.4121, allocations: 2.35 MB / 493.7 MB, free: 7.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.4121, allocations: 8 kB / 493.7 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.4121, allocations: 12 kB / 493.7 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4133, allocations: 407.5 kB / 494.1 MB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4147, allocations: 331.5 kB / 494.4 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.4204, allocations: 4.785 MB / 499.2 MB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4218, allocations: 95.91 kB / 499.3 MB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.4219, allocations: 55.98 kB / 499.3 MB, free: 1.773 MB / 398.1 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.001396/0.4233, allocations: 0.712 MB / 0.4883 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.4237, allocations: 159 kB / 0.4885 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.4276, allocations: 2.12 MB / 0.4905 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4276, allocations: 12 kB / 0.4906 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.4276, allocations: 8 kB / 0.4906 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.4276, allocations: 3.984 kB / 0.4906 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008259/0.4359, allocations: 4.043 MB / 0.4945 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4359, allocations: 4 kB / 0.4945 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4369, allocations: 216 kB / 0.4947 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.4382, allocations: 478 kB / 0.4952 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.627e-05/0.4383, allocations: 31.98 kB / 0.4952 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006782/0.4451, allocations: 6.259 MB / 0.5013 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4451, allocations: 4 kB / 0.5013 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.4504, allocations: 3.177 MB / 0.5044 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.4515, allocations: 318.8 kB / 0.5047 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.4517, allocations: 28 kB / 0.5048 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.4526, allocations: 79.84 kB / 0.5048 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.4528, allocations: 112.7 kB / 0.5049 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/0.4529, allocations: 35.98 kB / 0.505 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00152/0.4544, allocations: 0.947 MB / 0.5059 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0 / 0.5059 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001428/0.4559, allocations: 456 kB / 0.5063 GB, free: 14.1 MB / 430.1 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.0003694/0.4562, allocations: 196.5 kB / 0.5065 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.4599, allocations: 2.045 MB / 0.5085 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4599, allocations: 4 kB / 0.5085 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.4622, allocations: 1.362 MB / 0.5099 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.4639, allocations: 391.6 kB / 0.5102 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007439/0.4713, allocations: 4.543 MB / 0.5147 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.4728, allocations: 1.253 MB / 0.5159 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.474, allocations: 376.5 kB / 0.5163 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.4743, allocations: 103.4 kB / 0.5164 GB, free: 3.664 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4743, allocations: 4 kB / 0.5164 GB, free: 3.66 MB / 430.1 MB Notification: Performance of Templates: time 0.2643/0.7387, allocations: 27.78 MB / 0.5435 GB, free: 95.03 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.943120640236884]