Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001365/0.001365, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001693/0.001693, allocations: 217.8 kB / 23 MB, free: 5.574 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.507/1.507, allocations: 230.2 MB / 256.2 MB, free: 8.52 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2876, allocations: 53.31 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01276/0.3003, allocations: 9.839 MB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.3071, allocations: 3.112 MB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.309, allocations: 47.81 kB / 442.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.3113, allocations: 0.6599 MB / 443.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.3144, allocations: 0.7804 MB / 444.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3155, allocations: 395.4 kB / 444.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.3188, allocations: 2.436 MB / 447.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.3204, allocations: 1.046 MB / 448.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.3224, allocations: 1.094 MB / 449.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.3247, allocations: 1.351 MB / 450.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.3252, allocations: 276 kB / 450.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.326, allocations: 383.8 kB / 451.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008571/0.3269, allocations: 0.7829 MB / 452 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.3285, allocations: 1.276 MB / 453.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.3331, allocations: 3.666 MB / 456.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3331, allocations: 3.938 kB / 456.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3331, allocations: 3.938 kB / 456.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.356e-05/0.3332, allocations: 0 / 456.9 MB, free: 12.26 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.005591/0.3388, allocations: 2.659 MB / 459.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3388, allocations: 12.03 kB / 459.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.3397, allocations: 279.4 kB / 459.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.3422, allocations: 1.374 MB / 461.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.3424, allocations: 144.1 kB / 461.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.3427, allocations: 195.9 kB / 461.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/0.3469, allocations: 2.419 MB / 464 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.164e-05/0.347, allocations: 7.984 kB / 464 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.3472, allocations: 79.98 kB / 464.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.3473, allocations: 91.69 kB / 464.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.3509, allocations: 1.962 MB / 466.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.3631, allocations: 7.784 MB / 473.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.3649, allocations: 1.156 MB / 475.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.3666, allocations: 0.9058 MB / 476 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.3669, allocations: 126 kB / 476.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3669, allocations: 47.56 kB / 476.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.3669, allocations: 0 / 476.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.0128/0.3797, allocations: 5.878 MB / 482 MB, free: 2.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3798, allocations: 68.34 kB / 482.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.3817, allocations: 1.314 MB / 483.4 MB, free: 1.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.3818, allocations: 53.62 kB / 483.5 MB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.3825, allocations: 0.9458 MB / 484.4 MB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.3829, allocations: 408.5 kB / 484.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004109/0.3833, allocations: 251.5 kB / 485.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3834, allocations: 357.9 kB / 485.4 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.3845, allocations: 0.6364 MB / 486 MB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3858, allocations: 1.004 MB / 487.1 MB, free: 13.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.3883, allocations: 1.735 MB / 488.8 MB, free: 11.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3883, allocations: 4 kB / 488.8 MB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004051/0.3924, allocations: 2.246 MB / 491 MB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3924, allocations: 8 kB / 491 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.3924, allocations: 12.31 kB / 491.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3937, allocations: 495.9 kB / 491.5 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.3948, allocations: 303.5 kB / 491.8 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00781/0.4026, allocations: 7.128 MB / 499 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.4039, allocations: 87.94 kB / 499 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.404, allocations: 59.98 kB / 499.1 MB, free: 0.6641 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.001076/0.405, allocations: 0.6026 MB / 499.7 MB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.4054, allocations: 151.2 kB / 499.9 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.4089, allocations: 1.957 MB / 0.4901 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4089, allocations: 12 kB / 0.4901 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4089, allocations: 4 kB / 0.4901 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4089, allocations: 7.969 kB / 0.4901 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007497/0.4164, allocations: 4.109 MB / 0.4941 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4165, allocations: 4.281 kB / 0.4941 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/0.4173, allocations: 191.7 kB / 0.4943 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.4188, allocations: 0.5309 MB / 0.4948 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/0.4189, allocations: 31.98 kB / 0.4948 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009184/0.4281, allocations: 8.774 MB / 0.5034 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.4281, allocations: 7.922 kB / 0.5034 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.433, allocations: 2.844 MB / 0.5062 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/0.4338, allocations: 356 kB / 0.5065 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.434, allocations: 31.98 kB / 0.5065 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.4348, allocations: 67.92 kB / 0.5066 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.4351, allocations: 92.88 kB / 0.5067 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.4352, allocations: 32 kB / 0.5067 GB, free: 12.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.4365, allocations: 0.8879 MB / 0.5076 GB, free: 11.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4365, allocations: 4 kB / 0.5076 GB, free: 11.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001633/0.4382, allocations: 447.9 kB / 0.508 GB, free: 10.75 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.0004098/0.4386, allocations: 192.8 kB / 0.5082 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.4422, allocations: 2.161 MB / 0.5103 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.4422, allocations: 0 / 0.5103 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.4447, allocations: 1.449 MB / 0.5117 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.4468, allocations: 425.8 kB / 0.5121 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.4546, allocations: 4.202 MB / 0.5162 GB, free: 2.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.4561, allocations: 1.646 MB / 0.5179 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001158/0.4573, allocations: 328.7 kB / 0.5182 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.4576, allocations: 95.42 kB / 0.5183 GB, free: 20 kB / 430.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4576, allocations: 4 kB / 0.5183 GB, free: 16 kB / 430.1 MB Notification: Performance of Templates: time 0.2523/0.7099, allocations: 24.86 MB / 0.5425 GB, free: 95.24 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.742164085619152]