Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001334/0.001334, allocations: 85.08 kB / 23 MB, free: 1.504 MB / 18.57 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.001393/0.001393, allocations: 173.1 kB / 26.39 MB, free: 8 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9054/0.9054, allocations: 158.6 MB / 188.3 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 252.3 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.686e-05, allocations: 2.312 kB / 252.3 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01964/0.01965, allocations: 25.39 MB / 277.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.03516, allocations: 7.892 MB / 285.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.03942, allocations: 195 kB / 285.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.04996, allocations: 9.71 MB / 295.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008748/0.05871, allocations: 3.492 MB / 299 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.06196, allocations: 1.828 MB / 300.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.07363, allocations: 12.83 MB / 313.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02261/0.09624, allocations: 15.93 MB / 329.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.1096, allocations: 9.914 MB / 339.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008418/0.118, allocations: 7.252 MB / 346.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002633/0.1207, allocations: 1.844 MB / 348.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.1239, allocations: 2.222 MB / 350.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.1263, allocations: 3.791 MB / 354.6 MB, free: 432 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1663/0.2926, allocations: 4.743 MB / 359.3 MB, free: 45.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.3072, allocations: 11.89 MB / 371.2 MB, free: 44.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3072, allocations: 0 / 371.2 MB, free: 44.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3072, allocations: 0 / 371.2 MB, free: 44.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006297/0.3079, allocations: 0 / 371.2 MB, free: 44.71 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.02762/0.3355, allocations: 14.72 MB / 385.9 MB, free: 39.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3355, allocations: 11.33 kB / 385.9 MB, free: 39.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/0.3614, allocations: 8.59 MB / 394.5 MB, free: 37.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.3754, allocations: 5.977 MB / 400.5 MB, free: 34.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008042/0.3762, allocations: 0.8221 MB / 401.3 MB, free: 33.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005024/0.3812, allocations: 1.075 MB / 402.4 MB, free: 32.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.3971, allocations: 9.079 MB / 411.5 MB, free: 24.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001915/0.3972, allocations: 15.36 kB / 411.5 MB, free: 24.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008347/0.3981, allocations: 452.7 kB / 411.9 MB, free: 23.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004187/0.3985, allocations: 0.6949 MB / 412.6 MB, free: 23.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/0.406, allocations: 4.567 MB / 417.2 MB, free: 18.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05429/0.4603, allocations: 45.89 MB / 463.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.4726, allocations: 11.13 MB / 474.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.4745, allocations: 1.545 MB / 475.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.4862, allocations: 7.056 MB / 482.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.4863, allocations: 83.88 kB / 482.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=385): time 5.51e-06/0.4863, allocations: 0 / 482.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=391): time 0.02136/0.5076, allocations: 9.682 MB / 492.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.5077, allocations: 90.47 kB / 492.7 MB, free: 11.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005267/0.513, allocations: 3.817 MB / 496.5 MB, free: 8.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.5132, allocations: 89.7 kB / 496.6 MB, free: 8.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/0.516, allocations: 5.287 MB / 0.4901 GB, free: 3.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.5173, allocations: 1.457 MB / 0.4915 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/0.5188, allocations: 1.427 MB / 0.4929 GB, free: 328 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.1631/0.6819, allocations: 480.8 kB / 0.4934 GB, free: 101.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.6847, allocations: 0.7543 MB / 0.4941 GB, free: 101.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.6872, allocations: 4.727 MB / 0.4987 GB, free: 97.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004406/0.6916, allocations: 6.143 MB / 0.5047 GB, free: 92.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.73e-05/0.6917, allocations: 26.03 kB / 0.5048 GB, free: 92.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.007498/0.6992, allocations: 5.482 MB / 0.5101 GB, free: 92.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.6992, allocations: 46.12 kB / 0.5102 GB, free: 92.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.6994, allocations: 89.72 kB / 0.5102 GB, free: 92.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.7017, allocations: 1.262 MB / 0.5115 GB, free: 92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.7043, allocations: 1.328 MB / 0.5128 GB, free: 92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00788/0.7122, allocations: 6.399 MB / 0.519 GB, free: 89.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005006/0.7172, allocations: 256.8 kB / 0.5193 GB, free: 89.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/0.7178, allocations: 275.9 kB / 0.5195 GB, free: 89.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003732/0.7215, allocations: 0.5872 MB / 0.5201 GB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.7226, allocations: 0.5641 MB / 0.5207 GB, free: 89.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/0.7307, allocations: 3.614 MB / 0.5242 GB, free: 89.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005193/0.7359, allocations: 2.437 MB / 0.5266 GB, free: 89.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.7359, allocations: 14.88 kB / 0.5266 GB, free: 89.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-05/0.7359, allocations: 18.8 kB / 0.5266 GB, free: 89.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/0.7587, allocations: 10.91 MB / 0.5372 GB, free: 86.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.7587, allocations: 4.094 kB / 0.5373 GB, free: 86.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/0.761, allocations: 0.6041 MB / 0.5378 GB, free: 85.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/0.764, allocations: 1.108 MB / 0.5389 GB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/0.7643, allocations: 86.45 kB / 0.539 GB, free: 85.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008317/0.7726, allocations: 5.851 MB / 0.5447 GB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7726, allocations: 1.688 kB / 0.5447 GB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008141/0.7807, allocations: 4.117 MB / 0.5487 GB, free: 78.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/0.7828, allocations: 0.8047 MB / 0.5495 GB, free: 77.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000547/0.7833, allocations: 69.81 kB / 0.5496 GB, free: 77.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.7848, allocations: 118.8 kB / 0.5497 GB, free: 77.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005676/0.7853, allocations: 291.2 kB / 0.55 GB, free: 77.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/0.7856, allocations: 88.61 kB / 0.5501 GB, free: 77.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001891/0.7875, allocations: 1.619 MB / 0.5517 GB, free: 76.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7875, allocations: 0 / 0.5517 GB, free: 76.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006267/0.7937, allocations: 1.821 MB / 0.5534 GB, free: 75.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0004686/0.7942, allocations: 253.1 kB / 0.5537 GB, free: 74.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005298/0.7995, allocations: 4.099 MB / 0.5577 GB, free: 71.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7995, allocations: 384 / 0.5577 GB, free: 71.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.8016, allocations: 2.004 MB / 0.5596 GB, free: 69.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.8041, allocations: 1.003 MB / 0.5606 GB, free: 68.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.8236, allocations: 15.76 MB / 0.576 GB, free: 52.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/0.8258, allocations: 2.974 MB / 0.5789 GB, free: 49.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002371/0.8281, allocations: 0.7559 MB / 0.5796 GB, free: 49.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/0.8298, allocations: 1.06 MB / 0.5807 GB, free: 48.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.8298, allocations: 0 / 0.5807 GB, free: 48.02 MB / 394.7 MB Notification: Performance of Templates: time 0.2268/1.057, allocations: 70.62 MB / 0.6496 GB, free: 117.6 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","",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.12214230094105]