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.001312/0.001312, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001417/0.001417, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.734 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.001537/0.001537, allocations: 43.94 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2188, allocations: 53.36 MB / 432.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.0118/0.2306, allocations: 8.627 MB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.2365, allocations: 2.925 MB / 443.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.2375, allocations: 59.62 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.2392, allocations: 0.6199 MB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.2414, allocations: 0.796 MB / 445.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.2422, allocations: 387.4 kB / 445.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00275/0.245, allocations: 2.44 MB / 448.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.2465, allocations: 1.048 MB / 449.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.2479, allocations: 1.117 MB / 450.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2496, allocations: 1.343 MB / 451.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004013/0.25, allocations: 280 kB / 452 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/0.2507, allocations: 375.8 kB / 452.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008284/0.2515, allocations: 0.7907 MB / 453.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.2528, allocations: 1.027 MB / 454.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.2568, allocations: 3.694 MB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2568, allocations: 0 / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2568, allocations: 4 kB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.369e-05/0.2568, allocations: 3.938 kB / 457.9 MB, free: 13.02 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.005097/0.2619, allocations: 2.58 MB / 460.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2619, allocations: 15.97 kB / 460.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.2628, allocations: 283.3 kB / 460.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.2654, allocations: 1.294 MB / 462 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.2656, allocations: 140.2 kB / 462.2 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.2659, allocations: 203.9 kB / 462.4 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/0.2702, allocations: 2.515 MB / 464.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.2703, allocations: 11.94 kB / 464.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.2705, allocations: 72 kB / 465 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.2706, allocations: 87.69 kB / 465 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.2742, allocations: 1.966 MB / 467 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.2863, allocations: 6.755 MB / 473.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.288, allocations: 1.02 MB / 474.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.2901, allocations: 0.9084 MB / 475.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.2903, allocations: 52.89 kB / 475.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.2903, allocations: 43.56 kB / 475.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.936e-06/0.2903, allocations: 4 kB / 475.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01338/0.3037, allocations: 5.483 MB / 481.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3037, allocations: 64.41 kB / 481.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.3056, allocations: 1.178 MB / 482.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3057, allocations: 45.7 kB / 482.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000814/0.3066, allocations: 0.9528 MB / 483.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.3069, allocations: 408.5 kB / 483.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/0.3074, allocations: 247.5 kB / 484.2 MB, free: 2.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3076, allocations: 369.9 kB / 484.5 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3086, allocations: 0.6325 MB / 485.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.31, allocations: 1.008 MB / 486.2 MB, free: 76 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.3126, allocations: 1.731 MB / 487.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.3126, allocations: 4 kB / 487.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004317/0.3169, allocations: 2.226 MB / 490.1 MB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3169, allocations: 12 kB / 490.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.317, allocations: 8 kB / 490.1 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.3183, allocations: 496.2 kB / 490.6 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.3195, allocations: 303.5 kB / 490.9 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008036/0.3275, allocations: 6.706 MB / 497.6 MB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3287, allocations: 87.92 kB / 497.7 MB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3288, allocations: 56 kB / 497.8 MB, free: 3.977 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.001141/0.33, allocations: 0.603 MB / 498.4 MB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.3303, allocations: 143 kB / 498.5 MB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.3341, allocations: 1.94 MB / 0.4887 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.3341, allocations: 12 kB / 0.4887 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3341, allocations: 7.938 kB / 0.4887 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3341, allocations: 7.969 kB / 0.4887 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/0.3413, allocations: 3.626 MB / 0.4923 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3413, allocations: 8.281 kB / 0.4923 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.3422, allocations: 179.8 kB / 0.4925 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.3438, allocations: 0.5387 MB / 0.493 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.3439, allocations: 35.92 kB / 0.493 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009451/0.3533, allocations: 8.197 MB / 0.501 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.3533, allocations: 7.938 kB / 0.501 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.3583, allocations: 2.836 MB / 0.5038 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008602/0.3591, allocations: 270.9 kB / 0.5041 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.3593, allocations: 36.52 kB / 0.5041 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.3601, allocations: 67.92 kB / 0.5042 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.3603, allocations: 88.77 kB / 0.5043 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.3604, allocations: 35.98 kB / 0.5043 GB, free: 0.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001204/0.3616, allocations: 0.783 MB / 0.5051 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3616, allocations: 3.938 kB / 0.5051 GB, free: 15.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001466/0.3631, allocations: 436 kB / 0.5055 GB, free: 15.53 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.0003578/0.3634, allocations: 190.8 kB / 0.5057 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003497/0.3669, allocations: 2.011 MB / 0.5076 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3669, allocations: 0 / 0.5076 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.3693, allocations: 1.38 MB / 0.509 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.371, allocations: 360.2 kB / 0.5093 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/0.3777, allocations: 4.166 MB / 0.5134 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.379, allocations: 1.072 MB / 0.5144 GB, free: 6.156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009209/0.3799, allocations: 311.7 kB / 0.5147 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.3802, allocations: 95.36 kB / 0.5148 GB, free: 5.754 MB / 430.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3802, allocations: 0 / 0.5148 GB, free: 5.754 MB / 430.1 MB Notification: Performance of Templates: time 0.2143/0.5945, allocations: 25.74 MB / 0.5399 GB, free: 102.4 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 -s gbode -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: 7.05773573499755]