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.001774/0.001774, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.002062/0.002062, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.429/1.429, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 43.94 kB / 371.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2334, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01127/0.2447, allocations: 8.336 MB / 432.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005963/0.2507, allocations: 2.808 MB / 435 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.2517, allocations: 59.62 kB / 435 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.2533, allocations: 0.6133 MB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.2556, allocations: 0.8195 MB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.2565, allocations: 351.5 kB / 436.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0033/0.2598, allocations: 2.661 MB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.2614, allocations: 1.124 MB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.2633, allocations: 1.23 MB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.2658, allocations: 1.459 MB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005333/0.2663, allocations: 308 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008916/0.2672, allocations: 391.8 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009176/0.2681, allocations: 0.8921 MB / 444.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.2696, allocations: 1.14 MB / 446 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.2742, allocations: 4.126 MB / 450.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2742, allocations: 0 / 450.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2742, allocations: 0 / 450.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.2744, allocations: 0 / 450.1 MB, free: 4.051 MB / 350.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.006125/0.2805, allocations: 2.842 MB / 453 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2805, allocations: 12.02 kB / 453 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007686/0.2813, allocations: 299.2 kB / 453.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.2846, allocations: 1.472 MB / 454.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.2847, allocations: 152.4 kB / 454.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.2852, allocations: 204.1 kB / 455.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005211/0.2904, allocations: 2.84 MB / 457.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.2904, allocations: 11.95 kB / 457.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.2906, allocations: 80 kB / 458 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.2907, allocations: 91.94 kB / 458.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004127/0.2949, allocations: 2.322 MB / 460.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3082, allocations: 7.257 MB / 467.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.3103, allocations: 1.246 MB / 468.9 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.3123, allocations: 1.011 MB / 469.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.3125, allocations: 44.97 kB / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.3126, allocations: 51.55 kB / 470 MB, free: 15.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.988e-06/0.3126, allocations: 0 / 470 MB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01387/0.3265, allocations: 5.912 MB / 476 MB, free: 9.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3265, allocations: 68.34 kB / 476 MB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.3288, allocations: 1.38 MB / 477.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.3289, allocations: 45.7 kB / 477.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000815/0.3298, allocations: 1.009 MB / 478.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.3302, allocations: 440.3 kB / 478.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/0.3307, allocations: 251.5 kB / 479.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3308, allocations: 373.8 kB / 479.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.3321, allocations: 0.73 MB / 480.2 MB, free: 5.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.3336, allocations: 1.059 MB / 481.3 MB, free: 4.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.3365, allocations: 1.875 MB / 483.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.3365, allocations: 0 / 483.2 MB, free: 2.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004393/0.3409, allocations: 2.342 MB / 485.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.3409, allocations: 12 kB / 485.5 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.3409, allocations: 8 kB / 485.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.342, allocations: 411.5 kB / 485.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.3433, allocations: 331.5 kB / 486.2 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005707/0.349, allocations: 4.771 MB / 491 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.3504, allocations: 87.91 kB / 491.1 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.3505, allocations: 55.98 kB / 491.2 MB, free: 9.973 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.001298/0.3518, allocations: 0.7159 MB / 491.9 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.3521, allocations: 159 kB / 492 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.356, allocations: 2.116 MB / 494.1 MB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.3561, allocations: 15.94 kB / 494.2 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.3561, allocations: 4 kB / 494.2 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.3561, allocations: 7.969 kB / 494.2 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/0.3641, allocations: 4.039 MB / 498.2 MB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.3641, allocations: 8.281 kB / 498.2 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.3651, allocations: 223.7 kB / 498.4 MB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.3664, allocations: 466.8 kB / 498.9 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3665, allocations: 31.98 kB / 498.9 MB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/0.3737, allocations: 6.267 MB / 0.4933 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.3737, allocations: 4 kB / 0.4934 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.3795, allocations: 3.169 MB / 0.4964 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.3806, allocations: 310.9 kB / 0.4967 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.3809, allocations: 31.98 kB / 0.4968 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/0.3817, allocations: 75.92 kB / 0.4968 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.382, allocations: 112.7 kB / 0.497 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.3821, allocations: 32 kB / 0.497 GB, free: 7.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.3836, allocations: 0.9388 MB / 0.4979 GB, free: 6.762 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 0.4979 GB, free: 6.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001577/0.3852, allocations: 459.9 kB / 0.4983 GB, free: 6.312 MB / 414.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.0004177/0.3856, allocations: 198.8 kB / 0.4985 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003858/0.3895, allocations: 2.044 MB / 0.5005 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.3895, allocations: 4 kB / 0.5005 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.3919, allocations: 1.363 MB / 0.5019 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.3941, allocations: 385.8 kB / 0.5022 GB, free: 2.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008281/0.4024, allocations: 4.577 MB / 0.5067 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.4039, allocations: 1.229 MB / 0.5079 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/0.4045, allocations: 119.4 kB / 0.508 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4045, allocations: 0 / 0.508 GB, free: 12.22 MB / 430.1 MB Notification: Performance of Templates: time 0.2648/0.6694, allocations: 69.96 MB / 0.5763 GB, free: 76.77 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.474348993971944]