Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001378/0.001378, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001554/0.001554, allocations: 210.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.92 kB / 378.3 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2435, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02926/0.2727, allocations: 23.2 MB / 454.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.2897, allocations: 7.853 MB / 462.7 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004628/0.2944, allocations: 234.8 kB / 462.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02274/0.3171, allocations: 8.765 MB / 471.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.329, allocations: 3.381 MB / 475.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005889/0.3349, allocations: 1.802 MB / 476.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0175/0.3524, allocations: 12.36 MB / 489.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0339/0.3863, allocations: 15.85 MB / 0.4932 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.3977, allocations: 6.644 MB / 0.4997 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.4096, allocations: 6.98 MB / 0.5065 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005789/0.4154, allocations: 1.832 MB / 0.5083 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008174/0.4236, allocations: 2.214 MB / 0.5105 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006878/0.4304, allocations: 3.605 MB / 0.514 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.442, allocations: 5.362 MB / 0.5192 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4415/0.8836, allocations: 24.89 MB / 0.5435 GB, free: 41.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8836, allocations: 0 / 0.5435 GB, free: 41.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.8836, allocations: 0 / 0.5435 GB, free: 41.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005977/0.8842, allocations: 1.094 kB / 0.5435 GB, free: 41.8 MB / 446.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.04137/0.9256, allocations: 14.66 MB / 0.5579 GB, free: 37.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9256, allocations: 9.375 kB / 0.5579 GB, free: 37.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04438/0.97, allocations: 8.435 MB / 0.5661 GB, free: 35.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/0.9886, allocations: 7.815 MB / 0.5737 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/0.9892, allocations: 0.8074 MB / 0.5745 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005258/0.9945, allocations: 1.054 MB / 0.5756 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04738/1.042, allocations: 18.54 MB / 0.5937 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000643/1.043, allocations: 19.94 kB / 0.5937 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005125/1.048, allocations: 450.1 kB / 0.5941 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006227/1.048, allocations: 0.6672 MB / 0.5948 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/1.084, allocations: 17.48 MB / 0.6118 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/1.194, allocations: 50.33 MB / 0.661 GB, free: 10.27 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02552/1.219, allocations: 12.66 MB / 0.6733 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007541/1.227, allocations: 3.729 MB / 0.677 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.227, allocations: 127.9 kB / 0.6771 GB, free: 11.81 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/1.228, allocations: 86.62 kB / 0.6772 GB, free: 11.71 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 1.136e-05/1.228, allocations: 10.56 kB / 0.6772 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05594/1.284, allocations: 21.23 MB / 0.6979 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.621e-05/1.284, allocations: 107.5 kB / 0.698 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/1.291, allocations: 4.003 MB / 0.702 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007685/1.292, allocations: 109.7 kB / 0.7021 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003653/1.296, allocations: 4.691 MB / 0.7066 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002251/1.298, allocations: 1.861 MB / 0.7085 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003465/1.301, allocations: 1.375 MB / 0.7098 GB, free: 10.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.301, allocations: 301.1 kB / 0.7101 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006266/1.308, allocations: 3.434 MB / 0.7134 GB, free: 6.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008472/1.316, allocations: 5.903 MB / 0.7192 GB, free: 15.49 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/1.333, allocations: 10.01 MB / 0.729 GB, free: 4.641 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/1.333, allocations: 28 kB / 0.729 GB, free: 4.613 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02909/1.362, allocations: 10.88 MB / 0.7396 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/1.363, allocations: 40 kB / 0.7397 GB, free: 10.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002349/1.363, allocations: 76 kB / 0.7397 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005657/1.368, allocations: 1.378 MB / 0.7411 GB, free: 8.66 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009684/1.378, allocations: 1.616 MB / 0.7427 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2614/1.64, allocations: 10.93 MB / 0.7533 GB, free: 203 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.645, allocations: 407.9 kB / 0.7537 GB, free: 203 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.646, allocations: 342.4 kB / 0.754 GB, free: 203 MB / 0.5763 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.00649/1.652, allocations: 4.158 MB / 0.7581 GB, free: 202.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.654, allocations: 486.5 kB / 0.7586 GB, free: 202.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.667, allocations: 8.379 MB / 0.7668 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008957/1.675, allocations: 7.025 MB / 0.7736 GB, free: 197.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/1.676, allocations: 11.72 kB / 0.7736 GB, free: 197.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.676, allocations: 26.02 kB / 0.7736 GB, free: 197.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/1.701, allocations: 16.13 MB / 0.7894 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.701, allocations: 0 / 0.7894 GB, free: 188.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/1.705, allocations: 0.9451 MB / 0.7903 GB, free: 187.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002884/1.707, allocations: 1.228 MB / 0.7915 GB, free: 186.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/1.708, allocations: 119.1 kB / 0.7916 GB, free: 186.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/1.719, allocations: 9.653 MB / 0.8011 GB, free: 178.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.72, allocations: 6.281 kB / 0.8011 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.735, allocations: 12.2 MB / 0.813 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/1.738, allocations: 1.096 MB / 0.8141 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/1.739, allocations: 107.7 kB / 0.8142 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.741, allocations: 262.1 kB / 0.8144 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006564/1.742, allocations: 376.2 kB / 0.8148 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/1.742, allocations: 159.9 kB / 0.8149 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003692/1.746, allocations: 2.579 MB / 0.8174 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.746, allocations: 0 / 0.8174 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005883/1.752, allocations: 1.92 MB / 0.8193 GB, free: 161.2 MB / 0.5763 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.0006882/1.753, allocations: 298.3 kB / 0.8196 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.764, allocations: 8.366 MB / 0.8278 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.764, allocations: 0 / 0.8278 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005949/1.77, allocations: 3.895 MB / 0.8316 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/1.776, allocations: 1.01 MB / 0.8326 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/1.809, allocations: 19.48 MB / 0.8516 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009558/1.819, allocations: 6.585 MB / 0.858 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006135/1.825, allocations: 2.288 MB / 0.8602 GB, free: 119.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/1.827, allocations: 435.3 kB / 0.8607 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of SimCode: time 1.583e-06/1.827, allocations: 4 kB / 0.8607 GB, free: 118.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.1149/1.942, allocations: 82.67 MB / 0.9414 GB, free: 36.84 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.69605353847146]