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.001733/0.001733, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00222/0.00222, allocations: 206.8 kB / 24.48 MB, free: 3.695 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.001613/0.001613, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2878, allocations: 53.38 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01172/0.2995, allocations: 8.376 MB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006309/0.3058, allocations: 2.871 MB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.3073, allocations: 59.62 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.3092, allocations: 0.6172 MB / 444.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.3119, allocations: 0.8273 MB / 445.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.3129, allocations: 359.5 kB / 445.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003705/0.3166, allocations: 2.677 MB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.3184, allocations: 1.163 MB / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.3203, allocations: 1.238 MB / 450.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.3226, allocations: 1.537 MB / 452.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004621/0.3231, allocations: 308 kB / 452.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.3239, allocations: 407.8 kB / 452.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.3249, allocations: 0.9037 MB / 453.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.3263, allocations: 1.143 MB / 454.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004657/0.331, allocations: 4.142 MB / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.331, allocations: 0 / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.331, allocations: 0 / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.038e-05/0.3311, allocations: 0 / 458.9 MB, free: 11.95 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.005857/0.3369, allocations: 2.86 MB / 461.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.337, allocations: 8.031 kB / 461.8 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.338, allocations: 339.1 kB / 462.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.3412, allocations: 1.488 MB / 463.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3414, allocations: 156.4 kB / 463.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.3417, allocations: 207.9 kB / 464 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/0.3468, allocations: 2.832 MB / 466.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.3469, allocations: 7.953 kB / 466.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.3471, allocations: 83.98 kB / 466.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.3472, allocations: 99.92 kB / 467 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/0.3513, allocations: 2.319 MB / 469.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.3652, allocations: 7.242 MB / 476.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.3673, allocations: 1.25 MB / 477.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.3693, allocations: 1.005 MB / 478.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.3696, allocations: 52.95 kB / 478.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.3696, allocations: 43.56 kB / 478.9 MB, free: 7.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.246e-06/0.3696, allocations: 7.938 kB / 478.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01339/0.383, allocations: 5.92 MB / 484.8 MB, free: 1.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.3831, allocations: 68.39 kB / 484.9 MB, free: 1.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.3853, allocations: 1.389 MB / 486.3 MB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.3855, allocations: 49.7 kB / 486.4 MB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/0.3864, allocations: 1.02 MB / 487.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/0.3869, allocations: 436.3 kB / 487.8 MB, free: 14.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.3873, allocations: 259.4 kB / 488.1 MB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3875, allocations: 361.9 kB / 488.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.3887, allocations: 0.7378 MB / 489.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3902, allocations: 1.052 MB / 490.2 MB, free: 12.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.3932, allocations: 1.886 MB / 492.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.3932, allocations: 4 kB / 492.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004505/0.3977, allocations: 2.334 MB / 494.4 MB, free: 7.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.3977, allocations: 12 kB / 494.4 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3977, allocations: 8 kB / 494.4 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3988, allocations: 415.4 kB / 494.8 MB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.4002, allocations: 323.5 kB / 495.2 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.4061, allocations: 4.779 MB / 499.9 MB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4076, allocations: 95.83 kB / 0.4883 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.4077, allocations: 52 kB / 0.4884 GB, free: 1.77 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.00138/0.4091, allocations: 0.712 MB / 0.4891 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.4095, allocations: 163 kB / 0.4892 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.4135, allocations: 2.116 MB / 0.4913 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.4135, allocations: 15.94 kB / 0.4913 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4135, allocations: 4 kB / 0.4913 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4135, allocations: 3.984 kB / 0.4913 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008358/0.4219, allocations: 4.047 MB / 0.4953 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.4219, allocations: 4 kB / 0.4953 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.423, allocations: 227.9 kB / 0.4955 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/0.4243, allocations: 466.9 kB / 0.4959 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.4245, allocations: 31.98 kB / 0.496 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/0.4317, allocations: 6.258 MB / 0.5021 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4317, allocations: 4 kB / 0.5021 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.4373, allocations: 3.18 MB / 0.5052 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.4384, allocations: 314.8 kB / 0.5055 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.4387, allocations: 31.98 kB / 0.5055 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.4396, allocations: 75.92 kB / 0.5056 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.4399, allocations: 112.7 kB / 0.5057 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.44, allocations: 35.98 kB / 0.5057 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.4415, allocations: 0.947 MB / 0.5066 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4415, allocations: 3.938 kB / 0.5066 GB, free: 14.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4432, allocations: 456 kB / 0.5071 GB, free: 14.09 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.000408/0.4436, allocations: 197.6 kB / 0.5073 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.4474, allocations: 2.045 MB / 0.5093 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4474, allocations: 0 / 0.5093 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.4498, allocations: 1.362 MB / 0.5106 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.4519, allocations: 393 kB / 0.511 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.4604, allocations: 4.584 MB / 0.5154 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.4619, allocations: 1.237 MB / 0.5167 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/0.4625, allocations: 111.4 kB / 0.5168 GB, free: 3.988 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4625, allocations: 0 / 0.5168 GB, free: 3.988 MB / 430.1 MB Notification: Performance of Templates: time 0.2684/0.7309, allocations: 70.39 MB / 0.5855 GB, free: 61.79 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/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: 12.5952491289936]