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.IMS_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.001694/0.001694, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001992/0.001992, allocations: 187 kB / 24.46 MB, free: 3.863 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.44/1.44, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 47.92 kB / 371.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3166, allocations: 52.17 MB / 423.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03122/0.3479, allocations: 23.19 MB / 447 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.3669, allocations: 7.747 MB / 454.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006411/0.3733, allocations: 234.8 kB / 455 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02347/0.3967, allocations: 8.749 MB / 463.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.4089, allocations: 3.373 MB / 467.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006265/0.4151, allocations: 1.78 MB / 468.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01831/0.4334, allocations: 12.27 MB / 481.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03523/0.4687, allocations: 15.82 MB / 497 MB, free: 4.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.482, allocations: 6.64 MB / 0.4918 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.4953, allocations: 6.941 MB / 0.4986 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005916/0.5012, allocations: 1.836 MB / 0.5004 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007791/0.509, allocations: 2.179 MB / 0.5025 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006483/0.5155, allocations: 3.608 MB / 0.5061 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01308/0.5285, allocations: 5.359 MB / 0.5113 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03635/0.5649, allocations: 24.87 MB / 0.5356 GB, free: 1.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.5649, allocations: 0 / 0.5356 GB, free: 1.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5649, allocations: 0 / 0.5356 GB, free: 1.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007537/0.5657, allocations: 3.938 kB / 0.5356 GB, free: 1.301 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.3114/0.8771, allocations: 14.64 MB / 0.5499 GB, free: 92.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.8771, allocations: 8.031 kB / 0.5499 GB, free: 92.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04646/0.9236, allocations: 8.535 MB / 0.5582 GB, free: 84.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/0.9418, allocations: 7.785 MB / 0.5658 GB, free: 76.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007378/0.9425, allocations: 0.8022 MB / 0.5666 GB, free: 75.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004942/0.9475, allocations: 1.062 MB / 0.5677 GB, free: 74.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04433/0.9918, allocations: 18.5 MB / 0.5857 GB, free: 55.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004539/0.9923, allocations: 15.95 kB / 0.5857 GB, free: 55.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004466/0.9967, allocations: 451.1 kB / 0.5862 GB, free: 55.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005867/0.9973, allocations: 0.6679 MB / 0.5868 GB, free: 54.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03441/1.032, allocations: 17.44 MB / 0.6038 GB, free: 37.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09873/1.13, allocations: 50.21 MB / 0.6529 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02551/1.156, allocations: 12.63 MB / 0.6652 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007677/1.164, allocations: 3.727 MB / 0.6688 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/1.164, allocations: 100 kB / 0.6689 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/1.164, allocations: 94.5 kB / 0.669 GB, free: 3.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=518): time 9.427e-06/1.164, allocations: 0 / 0.669 GB, free: 3.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=524): time 0.0563/1.221, allocations: 21.17 MB / 0.6897 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/1.221, allocations: 107.5 kB / 0.6898 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.231, allocations: 3.999 MB / 0.6937 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009115/1.232, allocations: 109.7 kB / 0.6938 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004022/1.236, allocations: 4.685 MB / 0.6984 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002609/1.239, allocations: 1.863 MB / 0.7002 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004179/1.243, allocations: 1.355 MB / 0.7015 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.243, allocations: 309.1 kB / 0.7018 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/1.249, allocations: 3.426 MB / 0.7052 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009386/1.259, allocations: 5.891 MB / 0.7109 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01744/1.276, allocations: 9.988 MB / 0.7207 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.276, allocations: 24 kB / 0.7207 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02594/1.302, allocations: 10.85 MB / 0.7313 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/1.302, allocations: 36 kB / 0.7313 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.303, allocations: 80 kB / 0.7314 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/1.307, allocations: 1.374 MB / 0.7328 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/1.314, allocations: 1.611 MB / 0.7343 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/1.335, allocations: 10.93 MB / 0.745 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.341, allocations: 403.5 kB / 0.7454 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/1.343, allocations: 332 kB / 0.7457 GB, free: 2.383 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.5823/1.926, allocations: 4.167 MB / 0.7498 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/1.927, allocations: 475.4 kB / 0.7502 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.94, allocations: 8.376 MB / 0.7584 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009483/1.95, allocations: 7.004 MB / 0.7652 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/1.95, allocations: 14.22 kB / 0.7653 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/1.95, allocations: 28.03 kB / 0.7653 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/1.977, allocations: 16.09 MB / 0.781 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.977, allocations: 0 / 0.781 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/1.98, allocations: 0.9352 MB / 0.7819 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/1.983, allocations: 1.232 MB / 0.7831 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/1.983, allocations: 111.6 kB / 0.7832 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.996, allocations: 9.651 MB / 0.7926 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.996, allocations: 6 kB / 0.7927 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/2.012, allocations: 12.17 MB / 0.8045 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003365/2.016, allocations: 1.092 MB / 0.8056 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/2.017, allocations: 94.75 kB / 0.8057 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/2.02, allocations: 274.5 kB / 0.806 GB, free: 146.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006854/2.02, allocations: 372.2 kB / 0.8063 GB, free: 146.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/2.021, allocations: 151.8 kB / 0.8065 GB, free: 146.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003556/2.024, allocations: 2.575 MB / 0.809 GB, free: 143.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.024, allocations: 0 / 0.809 GB, free: 143.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007874/2.032, allocations: 1.912 MB / 0.8108 GB, free: 141.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000996/2.033, allocations: 311.1 kB / 0.8111 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01285/2.046, allocations: 8.352 MB / 0.8193 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.046, allocations: 3.938 kB / 0.8193 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006992/2.053, allocations: 3.887 MB / 0.8231 GB, free: 129.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007089/2.06, allocations: 0.9934 MB / 0.8241 GB, free: 128.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03862/2.099, allocations: 19.27 MB / 0.8429 GB, free: 108.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01105/2.11, allocations: 6.371 MB / 0.8491 GB, free: 102.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/2.112, allocations: 459.3 kB / 0.8495 GB, free: 101.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.543e-06/2.112, allocations: 0 / 0.8495 GB, free: 101.8 MB / 0.545 GB Notification: Performance of Templates: time 0.4665/2.579, allocations: 184.1 MB / 1.029 GB, free: 141.2 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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: 17.716212118044496]