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.0008766/0.0008766, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009012/0.0009012, allocations: 167 kB / 25.45 MB, free: 8.848 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.8689/0.8689, allocations: 158.6 MB / 187.2 MB, free: 3.035 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.492e-06/1.492e-06, allocations: 0 / 299.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.605e-05, allocations: 2.281 kB / 299.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0168/0.01682, allocations: 23.27 MB / 323 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.02988, allocations: 7.716 MB / 330.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.03415, allocations: 198.9 kB / 330.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.04447, allocations: 9.235 MB / 340.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008739/0.05321, allocations: 3.48 MB / 343.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.05685, allocations: 1.847 MB / 345.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.174/0.2309, allocations: 12.81 MB / 358.3 MB, free: 16.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02568/0.2565, allocations: 15.92 MB / 374.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0173/0.2738, allocations: 9.824 MB / 384 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.2842, allocations: 6.374 MB / 390.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004991/0.2892, allocations: 1.842 MB / 392.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006757/0.2959, allocations: 2.223 MB / 394.5 MB, free: 6.098 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00547/0.3014, allocations: 3.733 MB / 398.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01252/0.3139, allocations: 4.898 MB / 403.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02606/0.34, allocations: 25.12 MB / 428.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.34, allocations: 0 / 428.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.34, allocations: 0 / 428.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007482/0.3407, allocations: 2.938 kB / 428.2 MB, free: 7.051 MB / 362.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.03505/0.3758, allocations: 14.71 MB / 443 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3758, allocations: 15.98 kB / 443 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/0.4047, allocations: 9.534 MB / 452.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.419, allocations: 7.025 MB / 459.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007372/0.4197, allocations: 0.8186 MB / 460.3 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004889/0.4246, allocations: 1.083 MB / 461.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04199/0.4666, allocations: 18.96 MB / 480.4 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004052/0.467, allocations: 19.91 kB / 480.4 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003995/0.471, allocations: 453.8 kB / 480.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005695/0.4715, allocations: 0.6961 MB / 481.5 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03417/0.5057, allocations: 18.11 MB / 499.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3178/0.8235, allocations: 51.2 MB / 0.5379 GB, free: 127.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/0.8427, allocations: 14.6 MB / 0.5522 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004776/0.8475, allocations: 3.878 MB / 0.556 GB, free: 125.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.8612, allocations: 11.15 MB / 0.5669 GB, free: 120.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.8612, allocations: 69.39 kB / 0.5669 GB, free: 120.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=385): time 5.39e-06/0.8612, allocations: 0 / 0.5669 GB, free: 120.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=391): time 0.02907/0.8903, allocations: 19.04 MB / 0.5855 GB, free: 109.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.8903, allocations: 90.47 kB / 0.5856 GB, free: 109.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/0.8954, allocations: 4.182 MB / 0.5897 GB, free: 105.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008887/0.8963, allocations: 89.7 kB / 0.5898 GB, free: 105.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/0.8984, allocations: 4.987 MB / 0.5947 GB, free: 100.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/0.9, allocations: 1.401 MB / 0.596 GB, free: 99.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.9016, allocations: 1.263 MB / 0.5973 GB, free: 97.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.9016, allocations: 301.1 kB / 0.5975 GB, free: 97.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.9048, allocations: 3.108 MB / 0.6006 GB, free: 94.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/0.9087, allocations: 5.753 MB / 0.6062 GB, free: 87.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009092/0.9178, allocations: 9.419 MB / 0.6154 GB, free: 76.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/0.9179, allocations: 25.62 kB / 0.6154 GB, free: 76.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01278/0.9307, allocations: 10.18 MB / 0.6254 GB, free: 66.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.9307, allocations: 44 kB / 0.6254 GB, free: 66.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.833e-05/0.9308, allocations: 84 kB / 0.6255 GB, free: 66.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.9328, allocations: 1.378 MB / 0.6268 GB, free: 65.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/0.9357, allocations: 1.47 MB / 0.6283 GB, free: 63.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009472/0.9452, allocations: 10.91 MB / 0.6389 GB, free: 52.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/0.9492, allocations: 403.3 kB / 0.6393 GB, free: 52.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/0.9503, allocations: 324 kB / 0.6396 GB, free: 51.84 MB / 458.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.007164/0.9575, allocations: 4.184 MB / 0.6437 GB, free: 47.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/0.9587, allocations: 441.1 kB / 0.6441 GB, free: 47.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/0.9667, allocations: 7.248 MB / 0.6512 GB, free: 39.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005981/0.9727, allocations: 5.957 MB / 0.657 GB, free: 33.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.9727, allocations: 12 kB / 0.657 GB, free: 33.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/0.9727, allocations: 19.92 kB / 0.657 GB, free: 33.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/0.9972, allocations: 13.79 MB / 0.6705 GB, free: 20.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.9972, allocations: 0 / 0.6705 GB, free: 20.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.9989, allocations: 0.7294 MB / 0.6712 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/1.001, allocations: 1.225 MB / 0.6724 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/1.001, allocations: 87.97 kB / 0.6725 GB, free: 18.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009103/1.01, allocations: 9.648 MB / 0.6819 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.01, allocations: 5.938 kB / 0.6819 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.023, allocations: 10.44 MB / 0.6921 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/1.025, allocations: 0.9694 MB / 0.6931 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008809/1.026, allocations: 75.92 kB / 0.6932 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.028, allocations: 251.8 kB / 0.6934 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006318/1.028, allocations: 283.4 kB / 0.6937 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.029, allocations: 116 kB / 0.6938 GB, free: 12.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004074/1.033, allocations: 2.665 MB / 0.6964 GB, free: 9.523 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.033, allocations: 0 / 0.6964 GB, free: 9.523 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007774/1.04, allocations: 1.82 MB / 0.6982 GB, free: 7.703 MB / 474.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.001287/1.042, allocations: 267 kB / 0.6984 GB, free: 7.438 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1958/1.237, allocations: 7.54 MB / 0.7058 GB, free: 178.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.238, allocations: 0.9062 kB / 0.7058 GB, free: 178.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006879/1.244, allocations: 3.353 MB / 0.709 GB, free: 178.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.249, allocations: 0.9652 MB / 0.71 GB, free: 178.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/1.283, allocations: 18.76 MB / 0.7283 GB, free: 171.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008062/1.291, allocations: 6.394 MB / 0.7346 GB, free: 169.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/1.293, allocations: 415.1 kB / 0.7349 GB, free: 169.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.525e-06/1.293, allocations: 0 / 0.7349 GB, free: 169.5 MB / 474.7 MB Notification: Performance of Templates: time 0.4043/1.698, allocations: 181.9 MB / 0.9126 GB, free: 163.7 MB / 474.7 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.40566604025662]