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.001971/0.001971, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002098/0.002098, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.554/1.554, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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 1.663e-06/1.663e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.281e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01932/0.01935, allocations: 9.613 MB / 281.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008953/0.0283, allocations: 3.03 MB / 284.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.03029, allocations: 63.62 kB / 284.9 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.03305, allocations: 0.6324 MB / 285.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.03682, allocations: 0.8186 MB / 286.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.03837, allocations: 387.3 kB / 286.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004875/0.04324, allocations: 2.532 MB / 289.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1343/0.1775, allocations: 0.9956 MB / 290.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.1808, allocations: 1.629 MB / 291.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.1838, allocations: 1.208 MB / 293.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.1853, allocations: 279.2 kB / 293.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.187, allocations: 384.1 kB / 293.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.1884, allocations: 0.8131 MB / 294.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.1905, allocations: 0.8872 MB / 295.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.1952, allocations: 3.729 MB / 299.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1952, allocations: 1.531 kB / 299.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1952, allocations: 0 / 299.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.1952, allocations: 1.469 kB / 299.2 MB, free: 15.57 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.005851/0.2011, allocations: 2.915 MB / 302.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2011, allocations: 13.58 kB / 302.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.2023, allocations: 447.5 kB / 302.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.2048, allocations: 1.29 MB / 303.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2049, allocations: 141.8 kB / 304 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.2052, allocations: 196.4 kB / 304.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.2088, allocations: 2.343 MB / 306.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.703e-05/0.2089, allocations: 3.75 kB / 306.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.209, allocations: 80.94 kB / 306.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.483e-05/0.2091, allocations: 93.77 kB / 306.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.2115, allocations: 1.466 MB / 308.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.2235, allocations: 9.107 MB / 317.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.2246, allocations: 0.7084 MB / 318 MB, free: 2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.226, allocations: 0.692 MB / 318.7 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.2262, allocations: 48.17 kB / 318.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2262, allocations: 47.61 kB / 318.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.808e-06/0.2262, allocations: 0 / 318.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.009893/0.2361, allocations: 3.57 MB / 322.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.2362, allocations: 64.41 kB / 322.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.2385, allocations: 1.467 MB / 323.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.2386, allocations: 45.7 kB / 323.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.2396, allocations: 1.083 MB / 325 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/0.2401, allocations: 438.8 kB / 325.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005314/0.2406, allocations: 297.2 kB / 325.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003807/0.241, allocations: 0.5823 MB / 326.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007804/0.2418, allocations: 343.8 kB / 326.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.2431, allocations: 0.8903 MB / 327.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.2453, allocations: 1.343 MB / 328.9 MB, free: 6.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.2453, allocations: 8 kB / 328.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00362/0.2489, allocations: 1.57 MB / 330.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.249, allocations: 12.31 kB / 330.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.249, allocations: 12 kB / 330.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.2503, allocations: 310.4 kB / 330.8 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.2515, allocations: 313.8 kB / 331.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00791/0.2594, allocations: 6.969 MB / 338 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.2607, allocations: 87.88 kB / 338.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2609, allocations: 51.98 kB / 338.2 MB, free: 13.12 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.00111/0.262, allocations: 0.5244 MB / 338.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.2623, allocations: 175.1 kB / 338.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.2655, allocations: 1.229 MB / 340.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.2655, allocations: 12 kB / 340.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.2655, allocations: 7.984 kB / 340.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.2655, allocations: 3.984 kB / 340.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.273, allocations: 3.372 MB / 343.5 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.273, allocations: 7.938 kB / 343.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008714/0.2739, allocations: 180.6 kB / 343.7 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.2756, allocations: 382.4 kB / 344.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/0.2757, allocations: 39.97 kB / 344.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009654/0.2854, allocations: 8.824 MB / 352.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.2854, allocations: 8.031 kB / 352.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/0.2895, allocations: 1.807 MB / 354.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009467/0.2904, allocations: 255 kB / 355 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.2906, allocations: 24 kB / 355 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/0.2914, allocations: 71.92 kB / 355.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.2917, allocations: 88.77 kB / 355.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.2918, allocations: 39.98 kB / 355.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001433/0.2932, allocations: 0.8376 MB / 356 MB, free: 10.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2932, allocations: 3.656 kB / 356 MB, free: 10.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001794/0.295, allocations: 439.9 kB / 356.5 MB, free: 10.27 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.0004319/0.2954, allocations: 189.1 kB / 356.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.299, allocations: 1.718 MB / 358.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.299, allocations: 0 / 358.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.3014, allocations: 1.394 MB / 359.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.3035, allocations: 376.9 kB / 360.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/0.3111, allocations: 3.63 MB / 363.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.3124, allocations: 1.01 MB / 364.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001051/0.3135, allocations: 259.7 kB / 365 MB, free: 1.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.3138, allocations: 92.48 kB / 365.1 MB, free: 1.461 MB / 314.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3138, allocations: 4 kB / 365.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of Templates: time 0.04578/0.3596, allocations: 22.94 MB / 388.1 MB, free: 10.93 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] 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.539212504052557]