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.IMC_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.002448/0.002448, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001886/0.001886, allocations: 164.1 kB / 25.03 MB, free: 8.422 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 1.394/1.394, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 250.4 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.33e-05, allocations: 2.312 kB / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03427/0.03429, allocations: 24.22 MB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.05277, allocations: 7.295 MB / 281.9 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005151/0.05792, allocations: 183.1 kB / 282.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02518/0.0831, allocations: 9.385 MB / 291.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.09484, allocations: 3.08 MB / 294.6 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006341/0.1012, allocations: 1.769 MB / 296.3 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01839/0.1196, allocations: 11.32 MB / 307.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0329/0.1525, allocations: 14.27 MB / 321.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0196/0.1721, allocations: 8.795 MB / 330.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01407/0.1861, allocations: 6.121 MB / 336.8 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005857/0.192, allocations: 1.676 MB / 338.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008895/0.2009, allocations: 2.058 MB / 340.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007561/0.2085, allocations: 3.347 MB / 343.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01279/0.2213, allocations: 4.184 MB / 348.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2008/0.4221, allocations: 22.87 MB / 371 MB, free: 49.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4221, allocations: 3.312 kB / 371 MB, free: 49.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4221, allocations: 0 / 371 MB, free: 49.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007542/0.4229, allocations: 0 / 371 MB, free: 49.55 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04607/0.4689, allocations: 15.02 MB / 386 MB, free: 43.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.469, allocations: 11.64 kB / 386 MB, free: 43.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04343/0.5124, allocations: 8.941 MB / 394.9 MB, free: 39.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/0.5298, allocations: 5.828 MB / 400.8 MB, free: 35.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.5308, allocations: 0.7163 MB / 401.5 MB, free: 35.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005823/0.5367, allocations: 0.9366 MB / 402.4 MB, free: 34.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/0.5838, allocations: 16.6 MB / 419 MB, free: 17.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004053/0.5842, allocations: 15.94 kB / 419 MB, free: 17.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004466/0.5887, allocations: 396.2 kB / 419.4 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006139/0.5893, allocations: 0.5792 MB / 420 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03111/0.6204, allocations: 13.68 MB / 433.7 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3907/1.011, allocations: 106.7 MB / 0.5277 GB, free: 103.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/1.035, allocations: 10.37 MB / 0.5378 GB, free: 101.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005445/1.04, allocations: 2.604 MB / 0.5403 GB, free: 98.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.061, allocations: 9.301 MB / 0.5494 GB, free: 89.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/1.061, allocations: 75.59 kB / 0.5495 GB, free: 89.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=297): time 7.414e-06/1.061, allocations: 0 / 0.5495 GB, free: 89.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=303): time 0.03272/1.094, allocations: 13.32 MB / 0.5625 GB, free: 76.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/1.094, allocations: 85.78 kB / 0.5626 GB, free: 76.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007337/1.101, allocations: 5.433 MB / 0.5679 GB, free: 70.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005273/1.102, allocations: 73.7 kB / 0.568 GB, free: 70.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00273/1.105, allocations: 4.952 MB / 0.5728 GB, free: 65.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.106, allocations: 1.216 MB / 0.574 GB, free: 64.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/1.108, allocations: 1.461 MB / 0.5754 GB, free: 62.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/1.108, allocations: 480.8 kB / 0.5759 GB, free: 62.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.111, allocations: 2.052 MB / 0.5779 GB, free: 60.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004473/1.115, allocations: 5.833 MB / 0.5836 GB, free: 53.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007786/1.123, allocations: 8.637 MB / 0.592 GB, free: 42.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.038e-05/1.123, allocations: 24 kB / 0.592 GB, free: 42.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01206/1.135, allocations: 7.927 MB / 0.5998 GB, free: 34.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/1.135, allocations: 36 kB / 0.5998 GB, free: 34.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/1.135, allocations: 80 kB / 0.5999 GB, free: 34.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/1.139, allocations: 1.406 MB / 0.6013 GB, free: 33.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/1.143, allocations: 1.217 MB / 0.6024 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.156, allocations: 10.16 MB / 0.6124 GB, free: 21.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005328/1.161, allocations: 323.6 kB / 0.6127 GB, free: 21.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009941/1.162, allocations: 288 kB / 0.613 GB, free: 21.26 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006213/1.168, allocations: 3.426 MB / 0.6163 GB, free: 17.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.17, allocations: 477.5 kB / 0.6168 GB, free: 17.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00846/1.178, allocations: 4.921 MB / 0.6216 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005969/1.184, allocations: 3.98 MB / 0.6254 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/1.184, allocations: 12 kB / 0.6255 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.184, allocations: 15.94 kB / 0.6255 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2382/1.422, allocations: 14.65 MB / 0.6398 GB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.422, allocations: 4.875 kB / 0.6398 GB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.424, allocations: 0.5498 MB / 0.6403 GB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/1.428, allocations: 1.257 MB / 0.6416 GB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/1.429, allocations: 73.17 kB / 0.6416 GB, free: 115.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.44, allocations: 9.094 MB / 0.6505 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.44, allocations: 3.781 kB / 0.6505 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.452, allocations: 7.272 MB / 0.6576 GB, free: 111.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.454, allocations: 0.7347 MB / 0.6583 GB, free: 111.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005964/1.455, allocations: 59.34 kB / 0.6584 GB, free: 111.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.457, allocations: 178.8 kB / 0.6586 GB, free: 111.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/1.457, allocations: 238.4 kB / 0.6588 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.457, allocations: 96.8 kB / 0.6589 GB, free: 111 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004048/1.461, allocations: 2.745 MB / 0.6616 GB, free: 109.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/1.461, allocations: 0 / 0.6616 GB, free: 109.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006432/1.468, allocations: 1.547 MB / 0.6631 GB, free: 109.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.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 (282): * Single equations (assignments): 280 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006056/1.468, allocations: 236.5 kB / 0.6633 GB, free: 109.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00977/1.478, allocations: 6.103 MB / 0.6692 GB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.478, allocations: 5.906 kB / 0.6693 GB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004608/1.483, allocations: 2.718 MB / 0.6719 GB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/1.487, allocations: 0.877 MB / 0.6728 GB, free: 101.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/1.515, allocations: 15.38 MB / 0.6878 GB, free: 86.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005151/1.52, allocations: 5.265 MB / 0.6929 GB, free: 81.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004174/1.524, allocations: 1.596 MB / 0.6945 GB, free: 79.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/1.525, allocations: 296.4 kB / 0.6948 GB, free: 79.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.244e-06/1.525, allocations: 5.75 kB / 0.6948 GB, free: 79.59 MB / 394.7 MB Notification: Performance of Templates: time 0.09424/1.619, allocations: 54.22 MB / 0.7477 GB, free: 25.39 MB / 394.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 7.859660813002847]