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.0008999/0.0008999, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.005947/0.005947, allocations: 143 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8931/0.8931, allocations: 173.4 MB / 201.2 MB, free: 9.066 MB / 186.7 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 1.583e-06/1.583e-06, allocations: 0 / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.878e-05, allocations: 6.281 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01778/0.01781, allocations: 23.2 MB / 342.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.03318, allocations: 7.746 MB / 350.7 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005724/0.03891, allocations: 234.8 kB / 350.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.05106, allocations: 9.236 MB / 360.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.06247, allocations: 3.436 MB / 363.6 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.06703, allocations: 1.825 MB / 365.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01444/0.08147, allocations: 12.65 MB / 378.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0243/0.1058, allocations: 15.87 MB / 393.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01583/0.1216, allocations: 9.727 MB / 403.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009787/0.1314, allocations: 6.268 MB / 409.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004709/0.1361, allocations: 1.832 MB / 411.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/0.1423, allocations: 2.198 MB / 413.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005468/0.1477, allocations: 3.686 MB / 417.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.1581, allocations: 4.624 MB / 422.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02522/0.1833, allocations: 25.09 MB / 447.3 MB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1833, allocations: 0 / 447.3 MB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1833, allocations: 0 / 447.3 MB, free: 5.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000708/0.184, allocations: 7.984 kB / 447.4 MB, free: 5.672 MB / 410.7 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.2125/0.3964, allocations: 14.52 MB / 461.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.3965, allocations: 8.922 kB / 461.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02315/0.4196, allocations: 8.551 MB / 470.4 MB, free: 95.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.4313, allocations: 7.786 MB / 478.2 MB, free: 87.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004737/0.4318, allocations: 0.8053 MB / 479 MB, free: 87.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00413/0.4359, allocations: 1.061 MB / 480.1 MB, free: 86.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03585/0.4717, allocations: 18.5 MB / 498.6 MB, free: 67.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000326/0.4721, allocations: 23.94 kB / 498.6 MB, free: 67.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003838/0.4759, allocations: 447.4 kB / 499 MB, free: 67.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003991/0.4763, allocations: 0.6711 MB / 499.7 MB, free: 66.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02933/0.5056, allocations: 17.43 MB / 0.505 GB, free: 49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06787/0.5735, allocations: 50.23 MB / 0.5541 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/0.5891, allocations: 12.61 MB / 0.5664 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004908/0.594, allocations: 3.731 MB / 0.57 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.5944, allocations: 104 kB / 0.5701 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.5944, allocations: 86.62 kB / 0.5702 GB, free: 15.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=518): time 7.344e-06/0.5944, allocations: 0 / 0.5702 GB, free: 15.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=524): time 0.03274/0.6272, allocations: 21.18 MB / 0.5909 GB, free: 10.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.6272, allocations: 107.5 kB / 0.591 GB, free: 10.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/0.6318, allocations: 3.991 MB / 0.5949 GB, free: 6.547 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008275/0.6326, allocations: 113.7 kB / 0.595 GB, free: 6.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.6351, allocations: 4.664 MB / 0.5996 GB, free: 1.754 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001816/0.6369, allocations: 1.839 MB / 0.6014 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.6383, allocations: 1.347 MB / 0.6027 GB, free: 14.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.6384, allocations: 301.1 kB / 0.603 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/0.6422, allocations: 3.43 MB / 0.6063 GB, free: 10.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/0.6471, allocations: 5.887 MB / 0.6121 GB, free: 3.824 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.6582, allocations: 9.992 MB / 0.6218 GB, free: 8.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.268e-05/0.6582, allocations: 23.94 kB / 0.6218 GB, free: 8.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.3435/1.002, allocations: 10.85 MB / 0.6324 GB, free: 160 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/1.002, allocations: 37.12 kB / 0.6325 GB, free: 160 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/1.002, allocations: 77.25 kB / 0.6325 GB, free: 160 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/1.004, allocations: 1.38 MB / 0.6339 GB, free: 160 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/1.008, allocations: 1.612 MB / 0.6355 GB, free: 160 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/1.017, allocations: 10.93 MB / 0.6461 GB, free: 155.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.021, allocations: 406.2 kB / 0.6465 GB, free: 155.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009017/1.022, allocations: 334.6 kB / 0.6468 GB, free: 155.2 MB / 490.8 MB 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.007811/1.029, allocations: 4.168 MB / 0.6509 GB, free: 153.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009699/1.03, allocations: 474.4 kB / 0.6514 GB, free: 153.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0088/1.039, allocations: 8.376 MB / 0.6595 GB, free: 150 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006164/1.045, allocations: 7 MB / 0.6664 GB, free: 145.2 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.045, allocations: 8 kB / 0.6664 GB, free: 145.2 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/1.045, allocations: 36.59 kB / 0.6664 GB, free: 145.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.065, allocations: 16.09 MB / 0.6821 GB, free: 130.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.065, allocations: 7.656 kB / 0.6821 GB, free: 130.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.067, allocations: 0.9323 MB / 0.6831 GB, free: 130 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/1.069, allocations: 1.23 MB / 0.6843 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003806/1.07, allocations: 112 kB / 0.6844 GB, free: 128.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007496/1.077, allocations: 9.647 MB / 0.6938 GB, free: 119 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.077, allocations: 4 kB / 0.6938 GB, free: 119 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.089, allocations: 12.17 MB / 0.7057 GB, free: 106.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/1.091, allocations: 1.096 MB / 0.7067 GB, free: 105.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.091, allocations: 95.62 kB / 0.7068 GB, free: 105.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.093, allocations: 275.7 kB / 0.7071 GB, free: 105.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004822/1.093, allocations: 368.3 kB / 0.7075 GB, free: 105.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.093, allocations: 145.8 kB / 0.7076 GB, free: 105 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002307/1.096, allocations: 2.575 MB / 0.7101 GB, free: 102.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.11e-07/1.096, allocations: 0 / 0.7101 GB, free: 102.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004687/1.1, allocations: 1.92 MB / 0.712 GB, free: 100.6 MB / 490.8 MB 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.0006507/1.101, allocations: 309.7 kB / 0.7123 GB, free: 100.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008366/1.109, allocations: 8.343 MB / 0.7204 GB, free: 91.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.109, allocations: 4 kB / 0.7204 GB, free: 91.87 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/1.113, allocations: 3.88 MB / 0.7242 GB, free: 87.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/1.117, allocations: 0.9916 MB / 0.7252 GB, free: 87.01 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.138, allocations: 19.19 MB / 0.7439 GB, free: 67.71 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/1.142, allocations: 6.375 MB / 0.7501 GB, free: 61.28 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.144, allocations: 455.4 kB / 0.7506 GB, free: 60.84 MB / 490.8 MB Notification: Performance of SimCode: time 1.583e-06/1.144, allocations: 4 kB / 0.7506 GB, free: 60.83 MB / 490.8 MB Notification: Performance of Templates: time 0.3009/1.444, allocations: 184 MB / 0.9302 GB, free: 50.99 MB / 490.8 MB " [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: 12.496225971728563]