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.001444/0.001444, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001558/0.001558, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 2.204e-06/2.204e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.709e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.02233/0.02237, allocations: 8.64 MB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.0332, allocations: 2.929 MB / 283.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.03486, allocations: 59.62 kB / 284 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.03703, allocations: 0.6324 MB / 284.6 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.03996, allocations: 0.8265 MB / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.04114, allocations: 387.3 kB / 285.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.04516, allocations: 2.528 MB / 288.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/0.04756, allocations: 0.9976 MB / 289.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1333/0.1809, allocations: 1.608 MB / 290.9 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.1829, allocations: 1.115 MB / 292.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005037/0.1834, allocations: 282.1 kB / 292.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000859/0.1843, allocations: 378.7 kB / 292.7 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.1851, allocations: 0.804 MB / 293.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.1865, allocations: 0.8781 MB / 294.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.1913, allocations: 3.708 MB / 298.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1913, allocations: 0 / 298.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1913, allocations: 1.75 kB / 298.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.979e-05/0.1914, allocations: 0 / 298.1 MB, free: 16.18 MB / 266.7 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.00612/0.1975, allocations: 2.56 MB / 300.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1975, allocations: 10.03 kB / 300.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1988, allocations: 449.2 kB / 301.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.201, allocations: 1.34 MB / 302.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.2011, allocations: 143.7 kB / 302.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.2015, allocations: 196 kB / 302.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.2052, allocations: 2.517 MB / 305.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.369e-05/0.2052, allocations: 11.05 kB / 305.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.2054, allocations: 82.84 kB / 305.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/0.2055, allocations: 97.34 kB / 305.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.2082, allocations: 1.95 MB / 307.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009094/0.2173, allocations: 6.88 MB / 314.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.2186, allocations: 1.004 MB / 315.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.2201, allocations: 0.9111 MB / 316.2 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.2203, allocations: 49.47 kB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2203, allocations: 47.55 kB / 316.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.424e-06/0.2203, allocations: 3.75 kB / 316.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.01139/0.2317, allocations: 5.538 MB / 321.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.2318, allocations: 64.41 kB / 321.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.2337, allocations: 1.178 MB / 323.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/0.2338, allocations: 45.7 kB / 323.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.2347, allocations: 0.9441 MB / 324.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.2351, allocations: 409.6 kB / 324.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004575/0.2356, allocations: 243.5 kB / 324.7 MB, free: 12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.2358, allocations: 365.9 kB / 325.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.2369, allocations: 0.6373 MB / 325.7 MB, free: 11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.2384, allocations: 1.001 MB / 326.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.2412, allocations: 1.729 MB / 328.4 MB, free: 8.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2413, allocations: 8 kB / 328.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004441/0.2457, allocations: 2.287 MB / 330.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.2457, allocations: 16.31 kB / 330.8 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2457, allocations: 8 kB / 330.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.2473, allocations: 0.5275 MB / 331.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.2485, allocations: 306 kB / 331.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008648/0.2571, allocations: 6.724 MB / 338.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.2584, allocations: 87.86 kB / 338.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.2585, allocations: 55.98 kB / 338.5 MB, free: 13.82 MB / 298.7 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.001414/0.26, allocations: 0.5976 MB / 339.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/0.2605, allocations: 191 kB / 339.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.2647, allocations: 1.939 MB / 341.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2647, allocations: 8 kB / 341.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.2647, allocations: 8 kB / 341.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2647, allocations: 3.984 kB / 341.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008239/0.273, allocations: 3.654 MB / 344.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.273, allocations: 0 / 344.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009044/0.2739, allocations: 186.8 kB / 345 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.2757, allocations: 0.5691 MB / 345.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.2759, allocations: 31.98 kB / 345.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.2865, allocations: 8.21 MB / 353.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.2865, allocations: 8.094 kB / 353.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.2924, allocations: 2.875 MB / 356.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/0.2934, allocations: 270.5 kB / 357 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.2938, allocations: 24 kB / 357 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.2948, allocations: 69.89 kB / 357.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.2951, allocations: 92.77 kB / 357.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/0.2952, allocations: 35.98 kB / 357.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00158/0.2968, allocations: 0.7869 MB / 358 MB, free: 9.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2968, allocations: 0 / 358 MB, free: 9.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001978/0.2988, allocations: 435.9 kB / 358.4 MB, free: 9.438 MB / 314.7 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.000453/0.2992, allocations: 195 kB / 358.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004103/0.3033, allocations: 2.001 MB / 360.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3033, allocations: 4.188 kB / 360.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002697/0.306, allocations: 1.385 MB / 362 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.3084, allocations: 377.9 kB / 362.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009161/0.3176, allocations: 4.001 MB / 366.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.3194, allocations: 1.068 MB / 367.4 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.3207, allocations: 307.8 kB / 367.7 MB, free: 4 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/0.3212, allocations: 96.48 kB / 367.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3212, allocations: 0 / 367.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of Templates: time 0.04555/0.3667, allocations: 22.89 MB / 390.7 MB, free: 9.43 MB / 346.7 MB " [Timeout remaining time 660] 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.564729026053101]