Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008551/0.008551, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001827/0.001827, allocations: 224.6 kB / 25.3 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 259 MB, free: 8.051 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 59.91 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2714, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01247/0.2839, allocations: 9.84 MB / 443 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006886/0.2908, allocations: 3.112 MB / 446.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.2925, allocations: 63.56 kB / 446.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.2946, allocations: 0.6561 MB / 446.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.2976, allocations: 0.8037 MB / 447.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2987, allocations: 395.4 kB / 448 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003707/0.3024, allocations: 2.439 MB / 450.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.304, allocations: 1.041 MB / 451.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.3061, allocations: 1.121 MB / 452.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.3085, allocations: 1.347 MB / 454 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005533/0.309, allocations: 276 kB / 454.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.31, allocations: 383.8 kB / 454.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008446/0.3108, allocations: 0.7829 MB / 455.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.3125, allocations: 1.279 MB / 456.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.3173, allocations: 3.667 MB / 460.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3173, allocations: 0 / 460.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.3173, allocations: 3.984 kB / 460.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.3174, allocations: 0 / 460.4 MB, free: 11.64 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.006063/0.3235, allocations: 2.583 MB / 463 MB, free: 9.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3235, allocations: 8.031 kB / 463 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.3244, allocations: 287.3 kB / 463.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.3271, allocations: 1.29 MB / 464.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3272, allocations: 140.2 kB / 464.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.3275, allocations: 211.8 kB / 464.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004423/0.332, allocations: 2.419 MB / 467.3 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.332, allocations: 4 kB / 467.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.3322, allocations: 76 kB / 467.4 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.3323, allocations: 91.67 kB / 467.5 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.3359, allocations: 1.959 MB / 469.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.3493, allocations: 7.629 MB / 477 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.351, allocations: 1.022 MB / 478.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.3528, allocations: 0.9094 MB / 479 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.353, allocations: 40.97 kB / 479 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.3531, allocations: 47.56 kB / 479.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.3531, allocations: 0 / 479.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.0132/0.3663, allocations: 5.509 MB / 484.6 MB, free: 3.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3663, allocations: 68.34 kB / 484.6 MB, free: 2.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.3685, allocations: 1.314 MB / 486 MB, free: 1.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.3686, allocations: 45.7 kB / 486 MB, free: 1.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008127/0.3694, allocations: 0.9459 MB / 486.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.3698, allocations: 404.5 kB / 487.3 MB, free: 192 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/0.3703, allocations: 255.6 kB / 487.6 MB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3705, allocations: 353.9 kB / 487.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.3715, allocations: 0.6441 MB / 488.6 MB, free: 14.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.3729, allocations: 1.004 MB / 489.6 MB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.3754, allocations: 1.735 MB / 491.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3754, allocations: 4 kB / 491.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004165/0.3795, allocations: 2.234 MB / 493.6 MB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.3796, allocations: 12 kB / 493.6 MB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.3796, allocations: 15.98 kB / 493.6 MB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3809, allocations: 492.2 kB / 494.1 MB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.382, allocations: 299.5 kB / 494.4 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/0.3899, allocations: 6.821 MB / 0.4894 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3912, allocations: 79.92 kB / 0.4895 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3913, allocations: 64.05 kB / 0.4896 GB, free: 1.523 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.001187/0.3925, allocations: 0.603 MB / 0.4902 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.3929, allocations: 159 kB / 0.4903 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.3965, allocations: 1.957 MB / 0.4922 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3965, allocations: 12 kB / 0.4922 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3966, allocations: 4 kB / 0.4922 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3966, allocations: 3.984 kB / 0.4922 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/0.4042, allocations: 4.081 MB / 0.4962 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4042, allocations: 3.938 kB / 0.4962 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/0.405, allocations: 188 kB / 0.4964 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.4066, allocations: 0.5428 MB / 0.4969 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/0.4066, allocations: 35.86 kB / 0.497 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009238/0.4159, allocations: 8.332 MB / 0.5051 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.4159, allocations: 7.938 kB / 0.5051 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.4208, allocations: 2.86 MB / 0.5079 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008799/0.4217, allocations: 286.8 kB / 0.5082 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.4219, allocations: 24 kB / 0.5082 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.4227, allocations: 79.84 kB / 0.5083 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.4229, allocations: 92.8 kB / 0.5084 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.423, allocations: 35.98 kB / 0.5084 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001401/0.4244, allocations: 0.8918 MB / 0.5093 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4244, allocations: 0 / 0.5093 GB, free: 12.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001555/0.426, allocations: 436 kB / 0.5097 GB, free: 12.24 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.0003967/0.4264, allocations: 186.9 kB / 0.5099 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.43, allocations: 2.007 MB / 0.5118 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.43, allocations: 0 / 0.5118 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002355/0.4324, allocations: 1.381 MB / 0.5132 GB, free: 8.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.4345, allocations: 417.2 kB / 0.5136 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.4419, allocations: 4.24 MB / 0.5177 GB, free: 3.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.4433, allocations: 1.638 MB / 0.5193 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.4438, allocations: 107.4 kB / 0.5194 GB, free: 2.082 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4438, allocations: 0 / 0.5194 GB, free: 2.082 MB / 430.1 MB Notification: Performance of Templates: time 0.3031/0.747, allocations: 71.25 MB / 0.589 GB, free: 58.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 13.097711455076933]