Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 167.1 kB / 24.82 MB, free: 9.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9408/0.9408, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.547e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1385/0.1385, allocations: 25.31 MB / 298.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1508, allocations: 8.023 MB / 306.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.1534, allocations: 236.3 kB / 306.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00838/0.1618, allocations: 9.694 MB / 316.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.1672, allocations: 3.435 MB / 320.1 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.1699, allocations: 1.826 MB / 321.9 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009788/0.1797, allocations: 12.79 MB / 334.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.1969, allocations: 15.89 MB / 350.6 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.2079, allocations: 9.809 MB / 360.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007488/0.2153, allocations: 7.151 MB / 367.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001973/0.2173, allocations: 1.832 MB / 369.4 MB, free: 1.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.22, allocations: 2.226 MB / 371.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.2221, allocations: 3.737 MB / 375.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003481/0.2256, allocations: 4.686 MB / 380 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009597/0.2352, allocations: 11.78 MB / 391.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2352, allocations: 0 / 391.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2352, allocations: 3.984 kB / 391.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001777/0.2354, allocations: 0 / 391.8 MB, free: 11.5 MB / 346.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.0179/0.2533, allocations: 14.55 MB / 406.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2533, allocations: 11.98 kB / 406.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/0.2754, allocations: 7.803 MB / 414.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007744/0.2831, allocations: 6.902 MB / 421.1 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.2835, allocations: 0.8067 MB / 421.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.2847, allocations: 1.062 MB / 422.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.2958, allocations: 8.9 MB / 431.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.2959, allocations: 19.83 kB / 431.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007357/0.2967, allocations: 452 kB / 432.3 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006801/0.2973, allocations: 0.6672 MB / 433 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2192/0.5165, allocations: 4.389 MB / 437.4 MB, free: 84.5 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03865/0.5552, allocations: 45.43 MB / 482.8 MB, free: 63.87 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007887/0.5631, allocations: 9.335 MB / 492.1 MB, free: 57.51 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.5644, allocations: 1.48 MB / 493.6 MB, free: 56.06 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.5646, allocations: 194.4 kB / 493.8 MB, free: 55.87 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.5646, allocations: 93.2 kB / 493.9 MB, free: 55.77 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.082e-06/0.5646, allocations: 0 / 493.9 MB, free: 55.77 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01602/0.5807, allocations: 10.48 MB / 0.4925 GB, free: 45.61 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5807, allocations: 107.5 kB / 0.4926 GB, free: 45.49 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.5835, allocations: 3.644 MB / 0.4962 GB, free: 42.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.5837, allocations: 113.7 kB / 0.4963 GB, free: 42.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.5854, allocations: 4.965 MB / 0.5012 GB, free: 37.94 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000992/0.5864, allocations: 1.915 MB / 0.503 GB, free: 36.12 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.5877, allocations: 1.527 MB / 0.5045 GB, free: 34.73 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.5877, allocations: 477.5 kB / 0.505 GB, free: 34.26 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009546/0.5887, allocations: 0.8374 MB / 0.5058 GB, free: 33.42 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.5906, allocations: 4.531 MB / 0.5102 GB, free: 27.59 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/0.5942, allocations: 6.052 MB / 0.5161 GB, free: 20.45 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/0.5942, allocations: 20 kB / 0.5161 GB, free: 20.43 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.005849/0.6, allocations: 5.731 MB / 0.5217 GB, free: 15.16 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.6001, allocations: 43.94 kB / 0.5218 GB, free: 15.11 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.434e-05/0.6001, allocations: 77.14 kB / 0.5219 GB, free: 15.04 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.6021, allocations: 1.257 MB / 0.5231 GB, free: 13.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.6045, allocations: 1.484 MB / 0.5245 GB, free: 12.42 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/0.61, allocations: 6.41 MB / 0.5308 GB, free: 6.055 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.6119, allocations: 251.8 kB / 0.531 GB, free: 5.809 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.6122, allocations: 284 kB / 0.5313 GB, free: 5.531 MB / 378.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.001862/0.6141, allocations: 0.6016 MB / 0.5319 GB, free: 5.027 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006392/0.6147, allocations: 0.6376 MB / 0.5325 GB, free: 4.387 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.6193, allocations: 4.162 MB / 0.5366 GB, free: 184 kB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003833/0.6231, allocations: 2.908 MB / 0.5394 GB, free: 13.23 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.6231, allocations: 15.98 kB / 0.5394 GB, free: 13.22 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/0.6232, allocations: 23.91 kB / 0.5395 GB, free: 13.2 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.6396, allocations: 12.54 MB / 0.5517 GB, free: 1.84 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6396, allocations: 4 kB / 0.5517 GB, free: 1.836 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.6414, allocations: 0.8169 MB / 0.5525 GB, free: 1.066 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.6434, allocations: 1.119 MB / 0.5536 GB, free: 15.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.6436, allocations: 116 kB / 0.5537 GB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005864/0.6495, allocations: 5.87 MB / 0.5594 GB, free: 9.996 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6495, allocations: 0 / 0.5594 GB, free: 9.996 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/0.6559, allocations: 4.973 MB / 0.5643 GB, free: 4.953 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/0.6577, allocations: 0.9127 MB / 0.5652 GB, free: 4.039 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.658, allocations: 92.03 kB / 0.5653 GB, free: 3.949 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.659, allocations: 132 kB / 0.5654 GB, free: 3.82 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/0.6594, allocations: 375.8 kB / 0.5658 GB, free: 3.453 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/0.6596, allocations: 123.9 kB / 0.5659 GB, free: 3.332 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001693/0.6613, allocations: 1.562 MB / 0.5674 GB, free: 1.934 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6613, allocations: 8 kB / 0.5674 GB, free: 1.926 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004459/0.6658, allocations: 1.91 MB / 0.5693 GB, free: 16 kB / 410.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.0004234/0.6662, allocations: 306.7 kB / 0.5696 GB, free: 15.76 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005065/0.6713, allocations: 4.443 MB / 0.5739 GB, free: 11.58 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6713, allocations: 7.562 kB / 0.5739 GB, free: 11.58 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.6737, allocations: 2.326 MB / 0.5762 GB, free: 9.359 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.676, allocations: 1.049 MB / 0.5772 GB, free: 8.352 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1437/0.8197, allocations: 15.84 MB / 0.5927 GB, free: 119.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.8222, allocations: 2.984 MB / 0.5956 GB, free: 119.5 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002547/0.8248, allocations: 0.8094 MB / 0.5964 GB, free: 119.4 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/0.8266, allocations: 1.187 MB / 0.5975 GB, free: 119.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.633e-06/0.8266, allocations: 2.75 kB / 0.5975 GB, free: 119.3 MB / 426.8 MB Notification: Performance of Templates: time 0.08555/0.9122, allocations: 78.26 MB / 0.674 GB, free: 59.08 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.890002935193479]