Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001377/0.001377, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001792/0.001792, allocations: 217 kB / 24.5 MB, free: 4.133 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.51/1.51, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.88 kB / 379.1 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3051, allocations: 53.4 MB / 432.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02969/0.3348, allocations: 25.06 MB / 457.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.353, allocations: 8.118 MB / 465.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005284/0.3583, allocations: 218.9 kB / 465.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02079/0.3791, allocations: 8.485 MB / 474.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.3916, allocations: 3.144 MB / 477.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005919/0.3975, allocations: 1.898 MB / 479.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01611/0.4136, allocations: 11.34 MB / 490.8 MB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02935/0.443, allocations: 14.66 MB / 0.4936 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.4539, allocations: 6.052 MB / 0.4995 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/0.4659, allocations: 6.569 MB / 0.5059 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005193/0.4711, allocations: 1.715 MB / 0.5076 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007102/0.4782, allocations: 2.164 MB / 0.5097 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00612/0.4844, allocations: 3.41 MB / 0.513 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.4976, allocations: 6.358 MB / 0.5192 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5925/1.09, allocations: 23.2 MB / 0.5419 GB, free: 40.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.09, allocations: 0 / 0.5419 GB, free: 40.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/1.09, allocations: 1.469 kB / 0.5419 GB, free: 40.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007362/1.091, allocations: 0 / 0.5419 GB, free: 40.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04446/1.135, allocations: 13.57 MB / 0.5551 GB, free: 37.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.135, allocations: 8.625 kB / 0.5551 GB, free: 37.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03434/1.17, allocations: 6.258 MB / 0.5612 GB, free: 36.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/1.188, allocations: 7.358 MB / 0.5684 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/1.19, allocations: 0.7183 MB / 0.5691 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007005/1.197, allocations: 0.9462 MB / 0.5701 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04331/1.24, allocations: 16.16 MB / 0.5858 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005169/1.24, allocations: 24.44 kB / 0.5859 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004242/1.245, allocations: 400.4 kB / 0.5862 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005141/1.245, allocations: 0.5591 MB / 0.5868 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/1.276, allocations: 15.14 MB / 0.6016 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1157/1.391, allocations: 51.41 MB / 0.6518 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.411, allocations: 8.634 MB / 0.6602 GB, free: 9.695 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007406/1.418, allocations: 3.332 MB / 0.6635 GB, free: 6.359 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/1.419, allocations: 139.2 kB / 0.6636 GB, free: 6.25 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/1.419, allocations: 78.06 kB / 0.6637 GB, free: 6.164 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=447): time 1.109e-05/1.419, allocations: 0 / 0.6637 GB, free: 6.164 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.06612/1.485, allocations: 20.56 MB / 0.6838 GB, free: 1.656 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/1.485, allocations: 94.95 kB / 0.6838 GB, free: 1.551 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008966/1.494, allocations: 4.51 MB / 0.6883 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.495, allocations: 97.7 kB / 0.6883 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003918/1.499, allocations: 4.347 MB / 0.6926 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002698/1.502, allocations: 1.607 MB / 0.6942 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002358/1.504, allocations: 1.208 MB / 0.6953 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.504, allocations: 305.1 kB / 0.6956 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005383/1.51, allocations: 3.072 MB / 0.6986 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007888/1.518, allocations: 5.216 MB / 0.7037 GB, free: 12.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/1.532, allocations: 8.887 MB / 0.7124 GB, free: 2.652 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.258e-05/1.532, allocations: 20 kB / 0.7124 GB, free: 2.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02148/1.554, allocations: 9.874 MB / 0.7221 GB, free: 9.191 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/1.554, allocations: 32 kB / 0.7221 GB, free: 9.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/1.554, allocations: 72 kB / 0.7222 GB, free: 9.09 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/1.558, allocations: 1.409 MB / 0.7235 GB, free: 7.68 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006015/1.564, allocations: 1.386 MB / 0.7249 GB, free: 6.387 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/1.585, allocations: 12.47 MB / 0.7371 GB, free: 9.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005246/1.59, allocations: 367.5 kB / 0.7374 GB, free: 9.41 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/1.592, allocations: 303.9 kB / 0.7377 GB, free: 9.113 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01152/1.603, allocations: 3.878 MB / 0.7415 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002337/1.605, allocations: 484.9 kB / 0.742 GB, free: 4.84 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02471/1.63, allocations: 8.475 MB / 0.7502 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01318/1.643, allocations: 6.23 MB / 0.7563 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.236e-05/1.643, allocations: 15.94 kB / 0.7563 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.813e-05/1.643, allocations: 27.91 kB / 0.7564 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3348/1.978, allocations: 17.44 MB / 0.7734 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/1.978, allocations: 7.75 kB / 0.7734 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.981, allocations: 0.8034 MB / 0.7742 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/1.984, allocations: 1.293 MB / 0.7754 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004111/1.985, allocations: 110.8 kB / 0.7756 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/1.998, allocations: 11.37 MB / 0.7867 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.998, allocations: 7.875 kB / 0.7867 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01574/2.014, allocations: 11.21 MB / 0.7976 GB, free: 210.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003146/2.017, allocations: 1.066 MB / 0.7986 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/2.018, allocations: 95.56 kB / 0.7987 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/2.021, allocations: 231.6 kB / 0.799 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006743/2.021, allocations: 345.7 kB / 0.7993 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/2.022, allocations: 145.9 kB / 0.7994 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004534/2.026, allocations: 3.115 MB / 0.8025 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/2.026, allocations: 0 / 0.8025 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007945/2.034, allocations: 1.727 MB / 0.8042 GB, free: 206.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/2.036, allocations: 0.5335 MB / 0.8047 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01148/2.047, allocations: 7.676 MB / 0.8122 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/2.047, allocations: 0 / 0.8122 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006129/2.054, allocations: 3.696 MB / 0.8158 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/2.059, allocations: 1.048 MB / 0.8168 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/2.09, allocations: 18.11 MB / 0.8345 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006361/2.096, allocations: 6.322 MB / 0.8407 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/2.098, allocations: 459.3 kB / 0.8411 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/2.098, allocations: 0 / 0.8411 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.5413/2.64, allocations: 230.5 MB / 1.066 GB, free: 177.3 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 21.767315224045888]