Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002147/0.002147, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002481/0.002481, allocations: 205.2 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 55.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 53.41 MB / 431.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01195/0.2864, allocations: 8.384 MB / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007122/0.2935, allocations: 2.867 MB / 442.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.295, allocations: 59.62 kB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.2968, allocations: 0.6246 MB / 443.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.2996, allocations: 0.8195 MB / 444.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.3005, allocations: 371.5 kB / 444.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.3039, allocations: 2.677 MB / 447.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.3056, allocations: 1.121 MB / 448.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.3074, allocations: 1.238 MB / 449.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.3095, allocations: 1.463 MB / 451.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.3099, allocations: 308 kB / 451.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.3107, allocations: 407.8 kB / 452 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009172/0.3116, allocations: 0.9037 MB / 452.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.3129, allocations: 1.144 MB / 454 MB, free: 72 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.3173, allocations: 4.138 MB / 458.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3173, allocations: 3.984 kB / 458.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3173, allocations: 0 / 458.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.852e-05/0.3174, allocations: 0 / 458.1 MB, free: 11.91 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.005707/0.3231, allocations: 2.857 MB / 461 MB, free: 9.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3232, allocations: 15.98 kB / 461 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.3241, allocations: 331.1 kB / 461.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.3271, allocations: 1.492 MB / 462.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.3272, allocations: 156.4 kB / 463 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.3275, allocations: 207.9 kB / 463.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004519/0.3321, allocations: 2.836 MB / 466 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.946e-05/0.3321, allocations: 11.89 kB / 466 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3323, allocations: 84 kB / 466.1 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.3324, allocations: 91.94 kB / 466.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/0.3364, allocations: 2.322 MB / 468.5 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.3489, allocations: 7.238 MB / 475.8 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.351, allocations: 1.247 MB / 477 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.3529, allocations: 1.011 MB / 478 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.3531, allocations: 48.97 kB / 478.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3532, allocations: 43.56 kB / 478.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.3532, allocations: 3.938 kB / 478.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01331/0.3665, allocations: 5.938 MB / 484.1 MB, free: 1.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.3665, allocations: 68.41 kB / 484.1 MB, free: 1.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.3686, allocations: 1.393 MB / 485.5 MB, free: 24 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3688, allocations: 45.7 kB / 485.6 MB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/0.3696, allocations: 1.024 MB / 486.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.37, allocations: 432.3 kB / 487 MB, free: 14.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003987/0.3704, allocations: 251.5 kB / 487.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3706, allocations: 361.9 kB / 487.6 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.3718, allocations: 0.7378 MB / 488.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.3732, allocations: 1.052 MB / 489.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.3759, allocations: 1.883 MB / 491.3 MB, free: 9.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3759, allocations: 4 kB / 491.3 MB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004198/0.3801, allocations: 2.342 MB / 493.6 MB, free: 7.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3801, allocations: 8 kB / 493.6 MB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.3801, allocations: 16 kB / 493.6 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009575/0.3811, allocations: 411.5 kB / 494.1 MB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3823, allocations: 327.5 kB / 494.4 MB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005522/0.3878, allocations: 4.771 MB / 499.1 MB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.3891, allocations: 95.84 kB / 499.2 MB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3893, allocations: 51.98 kB / 499.3 MB, free: 1.723 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.001339/0.3906, allocations: 0.7121 MB / 500 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.3909, allocations: 163 kB / 0.4884 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.3947, allocations: 2.124 MB / 0.4905 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3947, allocations: 12 kB / 0.4905 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.3947, allocations: 4 kB / 0.4905 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3948, allocations: 7.969 kB / 0.4905 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/0.4022, allocations: 4.035 MB / 0.4945 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.4023, allocations: 8.281 kB / 0.4945 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.4032, allocations: 223.7 kB / 0.4947 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.4045, allocations: 474.4 kB / 0.4951 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.4046, allocations: 27.98 kB / 0.4952 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006915/0.4115, allocations: 6.263 MB / 0.5013 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4115, allocations: 4 kB / 0.5013 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.4168, allocations: 3.169 MB / 0.5044 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.418, allocations: 319 kB / 0.5047 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.4182, allocations: 28 kB / 0.5047 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/0.419, allocations: 83.91 kB / 0.5048 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.4193, allocations: 112.7 kB / 0.5049 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.4194, allocations: 35.98 kB / 0.5049 GB, free: 15.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001595/0.421, allocations: 0.9431 MB / 0.5059 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 0 / 0.5059 GB, free: 14.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001725/0.4227, allocations: 460 kB / 0.5063 GB, free: 14.04 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.0004191/0.4231, allocations: 198.8 kB / 0.5065 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.4269, allocations: 2.04 MB / 0.5085 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.4269, allocations: 7.938 kB / 0.5085 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.4293, allocations: 1.37 MB / 0.5098 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.4313, allocations: 392.8 kB / 0.5102 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/0.4396, allocations: 4.544 MB / 0.5146 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.4412, allocations: 1.253 MB / 0.5159 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.4426, allocations: 376.5 kB / 0.5162 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.443, allocations: 107.4 kB / 0.5163 GB, free: 3.598 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/0.443, allocations: 0 / 0.5163 GB, free: 3.598 MB / 430.1 MB Notification: Performance of Templates: time 0.2826/0.7256, allocations: 27.27 MB / 0.543 GB, free: 102.2 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.964007064700127]