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.001413/0.001413, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001687/0.001687, allocations: 209.2 kB / 24.47 MB, free: 3.977 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 2.207/2.207, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.002009/0.002009, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01459/0.3591, allocations: 8.361 MB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.3667, allocations: 2.886 MB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.3684, allocations: 59.62 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.371, allocations: 0.6207 MB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.3744, allocations: 0.8234 MB / 445.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3757, allocations: 367.5 kB / 445.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004924/0.3806, allocations: 2.673 MB / 448.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.3831, allocations: 1.16 MB / 449.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.3856, allocations: 1.234 MB / 450.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.389, allocations: 1.537 MB / 452.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.39, allocations: 308 kB / 452.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.3917, allocations: 415.8 kB / 452.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.393, allocations: 0.896 MB / 453.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.3952, allocations: 1.14 MB / 454.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00688/0.4021, allocations: 4.146 MB / 458.9 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4021, allocations: 0 / 458.9 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4021, allocations: 0 / 458.9 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001505/0.4023, allocations: 0 / 458.9 MB, free: 12 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.009009/0.4113, allocations: 2.861 MB / 461.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4113, allocations: 8.031 kB / 461.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.4127, allocations: 335.1 kB / 462.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004358/0.4171, allocations: 1.492 MB / 463.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.4173, allocations: 152.4 kB / 463.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006396/0.4179, allocations: 211.9 kB / 464 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006989/0.4249, allocations: 2.832 MB / 466.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-05/0.425, allocations: 11.95 kB / 466.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.4253, allocations: 76 kB / 466.9 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.4254, allocations: 91.94 kB / 467 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/0.4312, allocations: 2.33 MB / 469.3 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.4497, allocations: 7.25 MB / 476.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.4523, allocations: 1.239 MB / 477.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.4547, allocations: 1.015 MB / 478.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.455, allocations: 44.97 kB / 478.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.455, allocations: 43.56 kB / 478.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.388e-06/0.455, allocations: 0 / 478.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01841/0.4734, allocations: 5.931 MB / 484.8 MB, free: 1.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.4735, allocations: 68.41 kB / 484.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.4763, allocations: 1.393 MB / 486.3 MB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.4765, allocations: 49.7 kB / 486.4 MB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.4775, allocations: 1.02 MB / 487.4 MB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000589/0.4781, allocations: 440.2 kB / 487.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005405/0.4787, allocations: 251.5 kB / 488.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4789, allocations: 357.9 kB / 488.4 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.4805, allocations: 0.7339 MB / 489.1 MB, free: 13.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.4824, allocations: 1.055 MB / 490.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.4861, allocations: 1.879 MB / 492.1 MB, free: 10.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4861, allocations: 0 / 492.1 MB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005746/0.4919, allocations: 2.346 MB / 494.4 MB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.4919, allocations: 12 kB / 494.4 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/0.492, allocations: 8 kB / 494.4 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.4933, allocations: 411.3 kB / 494.8 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.4951, allocations: 327.5 kB / 495.2 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.5027, allocations: 4.778 MB / 499.9 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.5045, allocations: 91.91 kB / 0.4883 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.5048, allocations: 55.98 kB / 0.4884 GB, free: 1.816 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.00188/0.5066, allocations: 0.7159 MB / 0.4891 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.5072, allocations: 163 kB / 0.4892 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.5123, allocations: 2.12 MB / 0.4913 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5123, allocations: 12 kB / 0.4913 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.5123, allocations: 4 kB / 0.4913 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.5123, allocations: 7.984 kB / 0.4913 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.5229, allocations: 4.039 MB / 0.4952 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.5229, allocations: 4 kB / 0.4953 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.5242, allocations: 219.7 kB / 0.4955 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.5259, allocations: 470.1 kB / 0.4959 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.5261, allocations: 39.98 kB / 0.4959 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00844/0.5345, allocations: 6.261 MB / 0.5021 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.5345, allocations: 4 kB / 0.5021 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00723/0.5417, allocations: 3.169 MB / 0.5052 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.5431, allocations: 323 kB / 0.5055 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/0.5434, allocations: 28 kB / 0.5055 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.5446, allocations: 75.91 kB / 0.5056 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.545, allocations: 116.5 kB / 0.5057 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.5451, allocations: 35.92 kB / 0.5057 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.547, allocations: 0.947 MB / 0.5066 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.547, allocations: 0 / 0.5066 GB, free: 14.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00215/0.5491, allocations: 460 kB / 0.5071 GB, free: 14.13 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.0004666/0.5496, allocations: 194.8 kB / 0.5073 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004725/0.5543, allocations: 2.038 MB / 0.5093 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5543, allocations: 4.25 kB / 0.5093 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002955/0.5573, allocations: 1.365 MB / 0.5106 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.5599, allocations: 397.7 kB / 0.511 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.57, allocations: 4.547 MB / 0.5154 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.572, allocations: 1.245 MB / 0.5166 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001559/0.5735, allocations: 376.5 kB / 0.517 GB, free: 3.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.574, allocations: 107.4 kB / 0.5171 GB, free: 3.695 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.574, allocations: 0 / 0.5171 GB, free: 3.695 MB / 430.1 MB Notification: Performance of Templates: time 0.3278/0.9018, allocations: 27.79 MB / 0.5442 GB, free: 95.14 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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: 9.019376384996576]