Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.97 kB / 21.18 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 187.4 kB / 24.46 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 47.92 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2522, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0276/0.2798, allocations: 21.35 MB / 445.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.2962, allocations: 7.076 MB / 452.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004896/0.3011, allocations: 222.9 kB / 452.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02109/0.3222, allocations: 8.208 MB / 460.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.3331, allocations: 2.957 MB / 463.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005457/0.3386, allocations: 1.702 MB / 465.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.015/0.3536, allocations: 10.84 MB / 476.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02381/0.3774, allocations: 14.16 MB / 490.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009322/0.3867, allocations: 5.876 MB / 496.2 MB, free: 5.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.3977, allocations: 6.038 MB / 0.4905 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00502/0.4027, allocations: 1.668 MB / 0.4921 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006971/0.4097, allocations: 2.023 MB / 0.4941 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005503/0.4152, allocations: 3.149 MB / 0.4972 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.4252, allocations: 4.713 MB / 0.5018 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02736/0.4526, allocations: 22.45 MB / 0.5237 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4526, allocations: 4 kB / 0.5237 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4526, allocations: 0 / 0.5237 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004719/0.4531, allocations: 4 kB / 0.5237 GB, free: 13.62 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03829/0.4913, allocations: 12.86 MB / 0.5363 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4914, allocations: 8.031 kB / 0.5363 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4624/0.9538, allocations: 6.243 MB / 0.5424 GB, free: 97.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.9684, allocations: 6.994 MB / 0.5492 GB, free: 92.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/0.9689, allocations: 0.6981 MB / 0.5499 GB, free: 92.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00336/0.9723, allocations: 0.9252 MB / 0.5508 GB, free: 91.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/1.005, allocations: 15.89 MB / 0.5663 GB, free: 75.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004369/1.005, allocations: 11.89 kB / 0.5663 GB, free: 75.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003039/1.008, allocations: 390.5 kB / 0.5667 GB, free: 74.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005107/1.009, allocations: 0.5547 MB / 0.5672 GB, free: 74.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02756/1.037, allocations: 14.71 MB / 0.5816 GB, free: 59.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06781/1.104, allocations: 43.99 MB / 0.6246 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/1.12, allocations: 9.149 MB / 0.6335 GB, free: 7.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004688/1.125, allocations: 2.925 MB / 0.6364 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004454/1.125, allocations: 75.02 kB / 0.6364 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/1.125, allocations: 81.62 kB / 0.6365 GB, free: 4.094 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 7.634e-06/1.125, allocations: 3.938 kB / 0.6365 GB, free: 4.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.04361/1.169, allocations: 17.03 MB / 0.6531 GB, free: 3.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/1.169, allocations: 90.58 kB / 0.6532 GB, free: 3.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006104/1.175, allocations: 3.592 MB / 0.6567 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006438/1.175, allocations: 85.7 kB / 0.6568 GB, free: 15.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003234/1.179, allocations: 4.145 MB / 0.6609 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001888/1.181, allocations: 1.449 MB / 0.6623 GB, free: 9.734 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/1.182, allocations: 1.137 MB / 0.6634 GB, free: 8.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/1.183, allocations: 305.1 kB / 0.6637 GB, free: 8.285 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004695/1.187, allocations: 2.787 MB / 0.6664 GB, free: 5.492 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00661/1.194, allocations: 4.974 MB / 0.6713 GB, free: 15.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.206, allocations: 8.298 MB / 0.6794 GB, free: 6.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.451e-05/1.206, allocations: 20 kB / 0.6794 GB, free: 6.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01846/1.225, allocations: 9.032 MB / 0.6882 GB, free: 13.14 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.225, allocations: 36.78 kB / 0.6882 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001997/1.225, allocations: 71.94 kB / 0.6883 GB, free: 13.04 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00634/1.231, allocations: 1.186 MB / 0.6895 GB, free: 11.85 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009662/1.241, allocations: 1.314 MB / 0.6907 GB, free: 10.53 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02897/1.27, allocations: 9.467 MB / 0.7 GB, free: 0.9492 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007725/1.278, allocations: 327.6 kB / 0.7003 GB, free: 0.6289 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/1.279, allocations: 284 kB / 0.7006 GB, free: 360 kB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01218/1.291, allocations: 3.712 MB / 0.7042 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.293, allocations: 401.4 kB / 0.7046 GB, free: 12.23 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.305, allocations: 6.617 MB / 0.711 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01021/1.315, allocations: 5.528 MB / 0.7164 GB, free: 24 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/1.315, allocations: 12 kB / 0.7165 GB, free: 12 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.078e-05/1.315, allocations: 19.98 kB / 0.7165 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02738/1.343, allocations: 13.43 MB / 0.7296 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.343, allocations: 4 kB / 0.7296 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/1.346, allocations: 0.7216 MB / 0.7303 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/1.349, allocations: 1.073 MB / 0.7313 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/1.349, allocations: 95.97 kB / 0.7314 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/1.364, allocations: 8.423 MB / 0.7397 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.364, allocations: 4 kB / 0.7397 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2715/1.635, allocations: 9.754 MB / 0.7492 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/1.638, allocations: 0.8994 MB / 0.7501 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009621/1.639, allocations: 80.16 kB / 0.7501 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.641, allocations: 199.9 kB / 0.7503 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/1.642, allocations: 301.3 kB / 0.7506 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/1.642, allocations: 120.7 kB / 0.7507 GB, free: 184.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003593/1.646, allocations: 2.327 MB / 0.753 GB, free: 184.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.646, allocations: 3.875 kB / 0.753 GB, free: 184.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006232/1.652, allocations: 1.605 MB / 0.7546 GB, free: 183.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008802/1.653, allocations: 277.2 kB / 0.7548 GB, free: 183.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.664, allocations: 6.837 MB / 0.7615 GB, free: 181.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.664, allocations: 3.938 kB / 0.7615 GB, free: 181.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006133/1.67, allocations: 3.159 MB / 0.7646 GB, free: 179.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004836/1.675, allocations: 0.8656 MB / 0.7655 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/1.703, allocations: 16.44 MB / 0.7815 GB, free: 169.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006713/1.709, allocations: 5.55 MB / 0.7869 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/1.711, allocations: 381.1 kB / 0.7873 GB, free: 164.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/1.711, allocations: 0 / 0.7873 GB, free: 164.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1624/1.873, allocations: 160.4 MB / 0.9439 GB, free: 6.418 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 16.92120286403224]