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.001812/0.001812, allocations: 85.58 kB / 20.5 MB, free: 1.348 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.001971/0.001971, allocations: 144.2 kB / 23.72 MB, free: 4.555 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.412/1.412, allocations: 173.4 MB / 200.3 MB, free: 12.98 MB / 190.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.001585/0.001585, allocations: 47.3 kB / 318.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09577, allocations: 52.16 MB / 370.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02856/0.1243, allocations: 23.18 MB / 394 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.1401, allocations: 7.747 MB / 401.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/0.1438, allocations: 234.8 kB / 402 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02206/0.1658, allocations: 9.208 MB / 411.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.1787, allocations: 3.371 MB / 414.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006009/0.1847, allocations: 1.791 MB / 416.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01688/0.2016, allocations: 12.27 MB / 428.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03029/0.2319, allocations: 15.82 MB / 444.5 MB, free: 13.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02008/0.252, allocations: 10 MB / 454.5 MB, free: 3.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.2646, allocations: 6.941 MB / 461.4 MB, free: 12.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004651/0.2692, allocations: 1.832 MB / 463.3 MB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.2753, allocations: 2.183 MB / 465.4 MB, free: 8.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005416/0.2807, allocations: 3.608 MB / 469 MB, free: 4.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2059/0.4866, allocations: 5.361 MB / 474.4 MB, free: 45.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02847/0.5151, allocations: 24.85 MB / 499.3 MB, free: 40.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5151, allocations: 1.312 kB / 499.3 MB, free: 40.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5151, allocations: 3.344 kB / 499.3 MB, free: 40.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007251/0.5158, allocations: 0 / 499.3 MB, free: 40.69 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.04118/0.557, allocations: 14.63 MB / 0.5019 GB, free: 31.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.557, allocations: 9.859 kB / 0.5019 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04354/0.6006, allocations: 8.564 MB / 0.5102 GB, free: 28.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.6155, allocations: 7.784 MB / 0.5178 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000443/0.616, allocations: 0.804 MB / 0.5186 GB, free: 22.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003248/0.6192, allocations: 1.066 MB / 0.5197 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/0.6523, allocations: 18.5 MB / 0.5377 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/0.6526, allocations: 15.95 kB / 0.5377 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002087/0.6547, allocations: 451.8 kB / 0.5382 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004903/0.6552, allocations: 0.6672 MB / 0.5388 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03909/0.6943, allocations: 17.43 MB / 0.5558 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/0.8007, allocations: 50.24 MB / 0.6049 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02398/0.8247, allocations: 12.63 MB / 0.6172 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006707/0.8314, allocations: 3.735 MB / 0.6209 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.8318, allocations: 96 kB / 0.621 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.273e-05/0.8319, allocations: 94.28 kB / 0.6211 GB, free: 372 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=518): time 8.706e-06/0.8319, allocations: 0 / 0.6211 GB, free: 372 kB / 0.4981 GB Notification: Performance of matching and sorting (n=524): time 0.04944/0.8814, allocations: 21.18 MB / 0.6417 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.8815, allocations: 107.5 kB / 0.6418 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007614/0.8891, allocations: 3.991 MB / 0.6457 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005761/0.8897, allocations: 105.7 kB / 0.6458 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003661/0.8933, allocations: 4.688 MB / 0.6504 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/0.8955, allocations: 1.856 MB / 0.6522 GB, free: 320 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003043/0.8985, allocations: 1.362 MB / 0.6536 GB, free: 14.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.8987, allocations: 301.1 kB / 0.6538 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006223/0.9049, allocations: 3.429 MB / 0.6572 GB, free: 11.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008195/0.9131, allocations: 5.893 MB / 0.663 GB, free: 4.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2358/1.149, allocations: 9.988 MB / 0.6727 GB, free: 180.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.361e-05/1.149, allocations: 27.56 kB / 0.6727 GB, free: 180.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01688/1.166, allocations: 10.84 MB / 0.6833 GB, free: 177.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/1.166, allocations: 40.16 kB / 0.6834 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.166, allocations: 79.06 kB / 0.6834 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003082/1.169, allocations: 1.373 MB / 0.6848 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/1.174, allocations: 1.612 MB / 0.6864 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/1.188, allocations: 10.93 MB / 0.697 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/1.193, allocations: 410.9 kB / 0.6974 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006188/1.193, allocations: 336.3 kB / 0.6977 GB, free: 171.2 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.005843/1.199, allocations: 4.164 MB / 0.7018 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/1.2, allocations: 475.2 kB / 0.7023 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/1.212, allocations: 8.375 MB / 0.7104 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008927/1.221, allocations: 7.001 MB / 0.7173 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.221, allocations: 15.19 kB / 0.7173 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/1.221, allocations: 25.61 kB / 0.7173 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.245, allocations: 16.09 MB / 0.733 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/1.245, allocations: 7.938 kB / 0.733 GB, free: 139.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/1.248, allocations: 0.9323 MB / 0.7339 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.251, allocations: 1.226 MB / 0.7351 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003014/1.251, allocations: 116 kB / 0.7352 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.263, allocations: 9.646 MB / 0.7447 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.263, allocations: 8.812 kB / 0.7447 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.277, allocations: 12.18 MB / 0.7566 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/1.28, allocations: 1.094 MB / 0.7576 GB, free: 114.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000597/1.28, allocations: 96 kB / 0.7577 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.282, allocations: 271.8 kB / 0.758 GB, free: 114.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000613/1.283, allocations: 364.3 kB / 0.7583 GB, free: 114 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.283, allocations: 147.9 kB / 0.7585 GB, free: 113.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003141/1.286, allocations: 2.582 MB / 0.761 GB, free: 111.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.286, allocations: 3.844 kB / 0.761 GB, free: 111.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005722/1.292, allocations: 1.914 MB / 0.7629 GB, free: 109.3 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.0005704/1.293, allocations: 315.5 kB / 0.7632 GB, free: 109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.303, allocations: 8.345 MB / 0.7713 GB, free: 100.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.304, allocations: 1.938 kB / 0.7713 GB, free: 100.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005302/1.309, allocations: 3.878 MB / 0.7751 GB, free: 96.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.313, allocations: 1.001 MB / 0.7761 GB, free: 95.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.34, allocations: 19.56 MB / 0.7952 GB, free: 76.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005866/1.346, allocations: 6.577 MB / 0.8016 GB, free: 69.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005467/1.351, allocations: 2.292 MB / 0.8038 GB, free: 67.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.352, allocations: 408.4 kB / 0.8042 GB, free: 66.78 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.352, allocations: 0 / 0.8042 GB, free: 66.78 MB / 0.545 GB Notification: Performance of Templates: time 0.1087/1.461, allocations: 70.93 MB / 0.8735 GB, free: 12.7 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 -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/jenkins/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/jenkins/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.042698208242655]