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.00185/0.00185, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.002059/0.002059, allocations: 157.4 kB / 24.48 MB, free: 3.465 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.397/1.397, allocations: 173.4 MB / 201.1 MB, free: 12.6 MB / 190.1 MB " [Timeout remaining time 179] 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.00157/0.00157, allocations: 54.08 kB / 319.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.0867, allocations: 52.16 MB / 371.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02765/0.1143, allocations: 23.18 MB / 394.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1304, allocations: 7.747 MB / 402.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004044/0.1345, allocations: 234.8 kB / 402.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02241/0.1569, allocations: 9.208 MB / 412 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.1675, allocations: 3.368 MB / 415.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00539/0.1729, allocations: 1.802 MB / 417.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01615/0.189, allocations: 12.25 MB / 429.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02667/0.2157, allocations: 15.83 MB / 445.2 MB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.2258, allocations: 6.651 MB / 451.9 MB, free: 6.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/0.2379, allocations: 6.934 MB / 458.8 MB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004427/0.2423, allocations: 1.832 MB / 460.6 MB, free: 13.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007199/0.2495, allocations: 2.195 MB / 462.8 MB, free: 11.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006126/0.2557, allocations: 3.605 MB / 466.4 MB, free: 8.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.2659, allocations: 5.359 MB / 471.8 MB, free: 2.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2162/0.4821, allocations: 24.86 MB / 496.7 MB, free: 37.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4821, allocations: 6.641 kB / 496.7 MB, free: 37.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4821, allocations: 0 / 496.7 MB, free: 37.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006326/0.4828, allocations: 0.5 kB / 496.7 MB, free: 37.47 MB / 430.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.04195/0.5247, allocations: 14.63 MB / 0.4993 GB, free: 29.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5248, allocations: 11.61 kB / 0.4993 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04539/0.5701, allocations: 8.552 MB / 0.5077 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/0.5861, allocations: 7.794 MB / 0.5153 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/0.5865, allocations: 0.8021 MB / 0.5161 GB, free: 20.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/0.5902, allocations: 1.065 MB / 0.5171 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03562/0.6259, allocations: 18.5 MB / 0.5352 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004355/0.6263, allocations: 19.41 kB / 0.5352 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003554/0.6298, allocations: 448.8 kB / 0.5356 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005866/0.6304, allocations: 0.6672 MB / 0.5363 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03892/0.6693, allocations: 17.43 MB / 0.5533 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/0.7794, allocations: 50.25 MB / 0.6024 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0256/0.805, allocations: 12.63 MB / 0.6147 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007559/0.8125, allocations: 3.719 MB / 0.6183 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/0.8132, allocations: 104 kB / 0.6184 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.8133, allocations: 86.62 kB / 0.6185 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 1.309e-05/0.8133, allocations: 0 / 0.6185 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.0579/0.8712, allocations: 21.18 MB / 0.6392 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.8713, allocations: 103.5 kB / 0.6393 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007919/0.8792, allocations: 3.991 MB / 0.6432 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008887/0.8801, allocations: 113.7 kB / 0.6433 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003899/0.884, allocations: 4.683 MB / 0.6479 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003004/0.887, allocations: 1.861 MB / 0.6497 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004735/0.8917, allocations: 1.355 MB / 0.651 GB, free: 14.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8919, allocations: 301.1 kB / 0.6513 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006671/0.8986, allocations: 3.426 MB / 0.6547 GB, free: 10.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008956/0.9075, allocations: 5.889 MB / 0.6604 GB, free: 3.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/0.9239, allocations: 9.993 MB / 0.6702 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.733e-05/0.924, allocations: 20 kB / 0.6702 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2353/1.159, allocations: 10.85 MB / 0.6808 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/1.159, allocations: 38.41 kB / 0.6808 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.159, allocations: 77.78 kB / 0.6809 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/1.163, allocations: 1.377 MB / 0.6822 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005961/1.169, allocations: 1.618 MB / 0.6838 GB, free: 193.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/1.183, allocations: 10.93 MB / 0.6945 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.188, allocations: 406.4 kB / 0.6949 GB, free: 191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.189, allocations: 331.8 kB / 0.6952 GB, free: 191 MB / 0.5606 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.006358/1.196, allocations: 4.165 MB / 0.6993 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.197, allocations: 474.4 kB / 0.6997 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/1.209, allocations: 8.385 MB / 0.7079 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009443/1.219, allocations: 7 MB / 0.7147 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/1.219, allocations: 15.94 kB / 0.7147 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/1.219, allocations: 26.53 kB / 0.7148 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0262/1.245, allocations: 16.08 MB / 0.7305 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.245, allocations: 0 / 0.7305 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/1.249, allocations: 0.9396 MB / 0.7314 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/1.252, allocations: 1.225 MB / 0.7326 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004117/1.252, allocations: 116.4 kB / 0.7327 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/1.264, allocations: 9.647 MB / 0.7421 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.264, allocations: 9.25 kB / 0.7421 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.281, allocations: 12.18 MB / 0.754 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/1.285, allocations: 1.086 MB / 0.7551 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.286, allocations: 99.92 kB / 0.7552 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.289, allocations: 271.8 kB / 0.7554 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008482/1.29, allocations: 364.3 kB / 0.7558 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004258/1.291, allocations: 148 kB / 0.7559 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004048/1.295, allocations: 2.575 MB / 0.7584 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.295, allocations: 0 / 0.7584 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006825/1.301, allocations: 1.92 MB / 0.7603 GB, free: 140.1 MB / 0.5606 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.0007406/1.302, allocations: 315.5 kB / 0.7606 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.314, allocations: 8.352 MB / 0.7688 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.314, allocations: 4 kB / 0.7688 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00631/1.321, allocations: 3.876 MB / 0.7726 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00596/1.327, allocations: 1.003 MB / 0.7735 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/1.362, allocations: 19.56 MB / 0.7927 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/1.373, allocations: 6.577 MB / 0.7991 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006658/1.379, allocations: 2.289 MB / 0.8013 GB, free: 97.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/1.381, allocations: 412.4 kB / 0.8017 GB, free: 97.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/1.381, allocations: 0 / 0.8017 GB, free: 97.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.1111/1.492, allocations: 70.93 MB / 0.871 GB, free: 27.5 MB / 0.5606 GB " [Timeout remaining time 659] 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 -s ida -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: 8.015558373066597]