Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001909/0.001909, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.004466/0.004466, allocations: 216.4 kB / 23.75 MB, free: 4.668 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 8 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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 47.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.274, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01171/0.2857, allocations: 9.036 MB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005816/0.2916, allocations: 2.976 MB / 443.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.2926, allocations: 51.69 kB / 443.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.2941, allocations: 0.6406 MB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.2962, allocations: 0.7808 MB / 445.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.297, allocations: 339.5 kB / 445.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003363/0.3004, allocations: 2.377 MB / 447.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.302, allocations: 1.028 MB / 448.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.3038, allocations: 1.094 MB / 450 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3059, allocations: 1.382 MB / 451.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000406/0.3063, allocations: 280 kB / 451.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007607/0.307, allocations: 395.8 kB / 452 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008744/0.3079, allocations: 0.8063 MB / 452.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.3094, allocations: 1.268 MB / 454.1 MB, free: 384 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004416/0.3138, allocations: 3.712 MB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3138, allocations: 0 / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3138, allocations: 4 kB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.857e-05/0.3139, allocations: 0 / 457.8 MB, free: 12.65 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005462/0.3193, allocations: 2.575 MB / 460.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3194, allocations: 16.03 kB / 460.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.3203, allocations: 299.3 kB / 460.7 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.323, allocations: 1.349 MB / 462 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.3232, allocations: 135.9 kB / 462.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.3235, allocations: 187.9 kB / 462.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.3276, allocations: 2.413 MB / 464.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/0.3277, allocations: 3.938 kB / 464.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.3279, allocations: 72 kB / 464.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.328, allocations: 83.5 kB / 464.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/0.3316, allocations: 2.016 MB / 466.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3443, allocations: 7.253 MB / 474.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.3462, allocations: 0.9895 MB / 475.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.348, allocations: 0.862 MB / 476 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.3482, allocations: 44.97 kB / 476.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.3483, allocations: 43.5 kB / 476.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.615e-06/0.3483, allocations: 0 / 476.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01043/0.3587, allocations: 4.705 MB / 480.8 MB, free: 5.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3588, allocations: 64.41 kB / 480.9 MB, free: 5.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.361, allocations: 1.389 MB / 482.3 MB, free: 3.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.3611, allocations: 45.7 kB / 482.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.3619, allocations: 0.9189 MB / 483.2 MB, free: 2.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.3623, allocations: 368.9 kB / 483.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.3627, allocations: 222.8 kB / 483.8 MB, free: 2.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3629, allocations: 349.9 kB / 484.1 MB, free: 1.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.364, allocations: 0.635 MB / 484.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.3654, allocations: 0.9181 MB / 485.7 MB, free: 160 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002562/0.368, allocations: 1.649 MB / 487.3 MB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.368, allocations: 0 / 487.3 MB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004657/0.3726, allocations: 2.383 MB / 489.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3726, allocations: 12 kB / 489.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3727, allocations: 8 kB / 489.8 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.3746, allocations: 0.7168 MB / 490.5 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.3755, allocations: 231.6 kB / 490.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.3877, allocations: 8.542 MB / 499.2 MB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.3888, allocations: 83.86 kB / 499.3 MB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.3889, allocations: 44 kB / 499.4 MB, free: 2.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.39, allocations: 0.638 MB / 500 MB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.3903, allocations: 147.1 kB / 0.4884 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/0.3938, allocations: 1.897 MB / 0.4903 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3938, allocations: 8 kB / 0.4903 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3938, allocations: 7.938 kB / 0.4903 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.3938, allocations: 3.984 kB / 0.4903 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007019/0.4008, allocations: 3.965 MB / 0.4942 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4008, allocations: 0 / 0.4942 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.4017, allocations: 187.9 kB / 0.4943 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.403, allocations: 466.9 kB / 0.4948 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.403, allocations: 27.98 kB / 0.4948 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007188/0.4102, allocations: 6.381 MB / 0.501 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.4102, allocations: 7.969 kB / 0.5011 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/0.4149, allocations: 2.769 MB / 0.5038 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/0.4156, allocations: 298.9 kB / 0.504 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.4158, allocations: 20 kB / 0.5041 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/0.4166, allocations: 79.91 kB / 0.5041 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.4168, allocations: 76.84 kB / 0.5042 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.4169, allocations: 31.98 kB / 0.5042 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.4183, allocations: 0.9624 MB / 0.5052 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4183, allocations: 0 / 0.5052 GB, free: 15.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001412/0.4198, allocations: 443.9 kB / 0.5056 GB, free: 15.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0003701/0.4201, allocations: 178.9 kB / 0.5058 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003463/0.4236, allocations: 1.945 MB / 0.5077 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4236, allocations: 0 / 0.5077 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.4258, allocations: 1.227 MB / 0.5089 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.4275, allocations: 386.1 kB / 0.5092 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007039/0.4345, allocations: 4.098 MB / 0.5132 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.4362, allocations: 1.693 MB / 0.5149 GB, free: 5.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008881/0.4371, allocations: 316 kB / 0.5152 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.4374, allocations: 99.42 kB / 0.5153 GB, free: 5.133 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4374, allocations: 0 / 0.5153 GB, free: 5.133 MB / 430.1 MB Notification: Performance of Templates: time 0.2201/0.6576, allocations: 25.56 MB / 0.5403 GB, free: 102.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.791822403902188]