Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.00137/0.00137, 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.001715/0.001715, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.012 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 47.92 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2497, allocations: 53.37 MB / 431.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01247/0.2622, allocations: 9.823 MB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.2689, allocations: 3.112 MB / 444.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.2701, allocations: 67.56 kB / 444.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.272, allocations: 0.6639 MB / 445.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.2742, allocations: 0.792 MB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.275, allocations: 391.4 kB / 446.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.2782, allocations: 2.436 MB / 448.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.2797, allocations: 1.045 MB / 450 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2813, allocations: 1.117 MB / 451.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.2831, allocations: 1.347 MB / 452.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.2835, allocations: 280 kB / 452.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.2842, allocations: 383.8 kB / 453.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008383/0.285, allocations: 0.7907 MB / 453.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.2863, allocations: 1.268 MB / 455.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.2904, allocations: 3.678 MB / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2904, allocations: 0 / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2904, allocations: 0 / 458.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.257e-05/0.2904, allocations: 0 / 458.8 MB, free: 11.61 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005142/0.2956, allocations: 2.583 MB / 461.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2956, allocations: 12.03 kB / 461.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.2964, allocations: 287.3 kB / 461.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.2989, allocations: 1.286 MB / 463 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2991, allocations: 152.1 kB / 463.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.2994, allocations: 191.9 kB / 463.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003998/0.3034, allocations: 2.415 MB / 465.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.3034, allocations: 11.98 kB / 465.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.3036, allocations: 76 kB / 465.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3037, allocations: 87.69 kB / 465.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.3071, allocations: 1.962 MB / 467.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.3193, allocations: 7.645 MB / 475.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.321, allocations: 1.011 MB / 476.5 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.3228, allocations: 0.9016 MB / 477.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.323, allocations: 48.97 kB / 477.5 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.3231, allocations: 47.55 kB / 477.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.595e-06/0.3231, allocations: 0 / 477.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01316/0.3363, allocations: 5.518 MB / 483 MB, free: 2.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3363, allocations: 64.34 kB / 483.1 MB, free: 2.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.3384, allocations: 1.314 MB / 484.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-05/0.3385, allocations: 41.7 kB / 484.5 MB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.3393, allocations: 0.942 MB / 485.4 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.3397, allocations: 412.5 kB / 485.8 MB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.3401, allocations: 247.5 kB / 486 MB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3403, allocations: 361.9 kB / 486.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3414, allocations: 0.6403 MB / 487 MB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.3428, allocations: 1 MB / 488 MB, free: 13.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.3453, allocations: 1.731 MB / 489.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.3453, allocations: 8 kB / 489.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004/0.3493, allocations: 2.242 MB / 492 MB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3493, allocations: 12.06 kB / 492 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.3493, allocations: 12 kB / 492 MB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.3506, allocations: 499.8 kB / 492.5 MB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.3517, allocations: 299.5 kB / 492.8 MB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007918/0.3596, allocations: 6.822 MB / 499.6 MB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3608, allocations: 87.84 kB / 499.7 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.361, allocations: 56 kB / 499.8 MB, free: 1.488 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001087/0.362, allocations: 0.603 MB / 0.4887 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.3623, allocations: 159.1 kB / 0.4888 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.366, allocations: 1.953 MB / 0.4907 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3661, allocations: 12 kB / 0.4907 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3661, allocations: 4 kB / 0.4907 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3661, allocations: 3.984 kB / 0.4907 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007408/0.3735, allocations: 4.081 MB / 0.4947 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3735, allocations: 4 kB / 0.4947 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.3743, allocations: 179.8 kB / 0.4949 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.3759, allocations: 0.5389 MB / 0.4954 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.376, allocations: 39.91 kB / 0.4955 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009243/0.3852, allocations: 8.335 MB / 0.5036 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.3852, allocations: 3.938 kB / 0.5036 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.3901, allocations: 2.852 MB / 0.5064 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008318/0.3909, allocations: 290.8 kB / 0.5067 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.3911, allocations: 35.92 kB / 0.5067 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/0.3919, allocations: 67.98 kB / 0.5068 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.3921, allocations: 100.8 kB / 0.5069 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.3922, allocations: 31.98 kB / 0.5069 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.3936, allocations: 0.8922 MB / 0.5078 GB, free: 12.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3936, allocations: 0 / 0.5078 GB, free: 12.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001482/0.395, allocations: 436 kB / 0.5082 GB, free: 12.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003728/0.3954, allocations: 190.9 kB / 0.5084 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003611/0.399, allocations: 2.004 MB / 0.5103 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.399, allocations: 4 kB / 0.5103 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.4014, allocations: 1.38 MB / 0.5117 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.4034, allocations: 419.6 kB / 0.5121 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.4104, allocations: 4.195 MB / 0.5162 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.4119, allocations: 1.65 MB / 0.5178 GB, free: 2.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009367/0.4128, allocations: 336.7 kB / 0.5181 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.4131, allocations: 99.42 kB / 0.5182 GB, free: 1.758 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4131, allocations: 0 / 0.5182 GB, free: 1.758 MB / 430.1 MB Notification: Performance of Templates: time 0.2631/0.6762, allocations: 25.27 MB / 0.5429 GB, free: 93.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.825078685069457]