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.001308/0.001308, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001588/0.001588, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001491/0.001491, allocations: 39.94 kB / 379.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2689, allocations: 53.35 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01197/0.2809, allocations: 9.831 MB / 442.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.287, allocations: 3.12 MB / 445.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.2882, allocations: 63.56 kB / 445.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.29, allocations: 0.66 MB / 446.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.2924, allocations: 0.7999 MB / 446.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.2933, allocations: 387.4 kB / 447.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.2963, allocations: 2.436 MB / 449.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.2977, allocations: 1.045 MB / 450.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.2993, allocations: 1.117 MB / 451.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.3012, allocations: 1.351 MB / 453.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.3015, allocations: 276 kB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.3022, allocations: 379.8 kB / 453.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007948/0.303, allocations: 0.7907 MB / 454.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.3044, allocations: 1.272 MB / 455.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.3085, allocations: 3.67 MB / 459.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3085, allocations: 0 / 459.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3085, allocations: 0 / 459.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.245e-05/0.3085, allocations: 0 / 459.6 MB, free: 11.62 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.005051/0.3136, allocations: 2.587 MB / 462.2 MB, free: 8.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3136, allocations: 8.031 kB / 462.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.3144, allocations: 291.3 kB / 462.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.3169, allocations: 1.29 MB / 463.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.317, allocations: 148.1 kB / 463.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.3173, allocations: 203.9 kB / 464.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/0.3213, allocations: 2.411 MB / 466.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.3213, allocations: 11.98 kB / 466.5 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.3215, allocations: 75.98 kB / 466.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.812e-05/0.3216, allocations: 87.69 kB / 466.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/0.325, allocations: 1.959 MB / 468.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3375, allocations: 7.633 MB / 476.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.3391, allocations: 1.018 MB / 477.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.3409, allocations: 0.9084 MB / 478.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.3411, allocations: 48.95 kB / 478.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3412, allocations: 43.55 kB / 478.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.525e-06/0.3412, allocations: 3.938 kB / 478.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01267/0.3538, allocations: 5.514 MB / 483.8 MB, free: 2.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3539, allocations: 68.34 kB / 483.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.3559, allocations: 1.31 MB / 485.2 MB, free: 1.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.3561, allocations: 45.7 kB / 485.2 MB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007542/0.3568, allocations: 0.9459 MB / 486.2 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.3572, allocations: 408.5 kB / 486.6 MB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.3576, allocations: 251.5 kB / 486.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3578, allocations: 353.9 kB / 487.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3588, allocations: 0.6442 MB / 487.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3602, allocations: 1 MB / 488.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.3627, allocations: 1.735 MB / 490.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3627, allocations: 4 kB / 490.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003986/0.3666, allocations: 2.238 MB / 492.8 MB, free: 9.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3667, allocations: 12 kB / 492.8 MB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.3667, allocations: 12 kB / 492.8 MB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.3679, allocations: 492.2 kB / 493.3 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.369, allocations: 303.5 kB / 493.6 MB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.3767, allocations: 6.818 MB / 0.4887 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.3778, allocations: 83.91 kB / 0.4888 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.378, allocations: 52 kB / 0.4888 GB, free: 1.508 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.0012/0.3792, allocations: 0.6148 MB / 0.4894 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.3796, allocations: 155 kB / 0.4895 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/0.3832, allocations: 1.953 MB / 0.4915 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.3832, allocations: 12 kB / 0.4915 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.3833, allocations: 7.938 kB / 0.4915 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3833, allocations: 11.97 kB / 0.4915 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007768/0.391, allocations: 4.089 MB / 0.4955 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.391, allocations: 0 / 0.4955 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.3919, allocations: 183.8 kB / 0.4957 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.3934, allocations: 0.539 MB / 0.4962 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.3935, allocations: 39.91 kB / 0.4962 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009118/0.4026, allocations: 8.329 MB / 0.5044 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.4026, allocations: 12 kB / 0.5044 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.4074, allocations: 2.848 MB / 0.5071 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.4083, allocations: 294.8 kB / 0.5074 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.4086, allocations: 27.98 kB / 0.5075 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.4095, allocations: 79.86 kB / 0.5075 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.4098, allocations: 92.8 kB / 0.5076 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/0.4099, allocations: 35.98 kB / 0.5077 GB, free: 13.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.4115, allocations: 0.8879 MB / 0.5085 GB, free: 12.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4115, allocations: 0 / 0.5085 GB, free: 12.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001829/0.4133, allocations: 440 kB / 0.5089 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.0004138/0.4137, allocations: 182.9 kB / 0.5091 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.4174, allocations: 2.007 MB / 0.5111 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4174, allocations: 0.8125 kB / 0.5111 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.4198, allocations: 1.38 MB / 0.5124 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.002082/0.4218, allocations: 420.4 kB / 0.5128 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/0.4298, allocations: 4.235 MB / 0.517 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.4317, allocations: 1.646 MB / 0.5186 GB, free: 2.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.4322, allocations: 107.4 kB / 0.5187 GB, free: 2.047 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4322, allocations: 0 / 0.5187 GB, free: 2.047 MB / 430.1 MB Notification: Performance of Templates: time 0.2688/0.7009, allocations: 71.25 MB / 0.5882 GB, free: 58.41 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/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: 12.454698160057887]