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.0009568/0.0009568, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009328/0.0009328, allocations: 166.2 kB / 25.69 MB, free: 8.457 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.8794/0.8794, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.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.383e-06/1.383e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.535e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01804/0.01806, allocations: 23.38 MB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.03189, allocations: 7.631 MB / 282.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004191/0.03608, allocations: 191 kB / 282.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.04668, allocations: 9.383 MB / 292.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.05512, allocations: 3.103 MB / 295.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.05853, allocations: 1.754 MB / 297 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.06927, allocations: 11.35 MB / 308.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.08625, allocations: 14.68 MB / 323 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.09655, allocations: 8.846 MB / 331.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007601/0.1041, allocations: 6.398 MB / 338.3 MB, free: 72 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003207/0.1074, allocations: 1.676 MB / 340 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.1113, allocations: 2.038 MB / 342 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002528/0.1138, allocations: 3.328 MB / 345.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005248/0.1191, allocations: 4.184 MB / 349.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1377/0.2568, allocations: 10.51 MB / 360 MB, free: 53.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2568, allocations: 0 / 360 MB, free: 53.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2568, allocations: 0 / 360 MB, free: 53.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000548/0.2573, allocations: 0 / 360 MB, free: 53.85 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.02008/0.2774, allocations: 12.04 MB / 372.1 MB, free: 50.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2774, allocations: 14.42 kB / 372.1 MB, free: 50.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0186/0.296, allocations: 7.168 MB / 379.2 MB, free: 50.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006495/0.3025, allocations: 3.114 MB / 382.4 MB, free: 49.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.3028, allocations: 0.7153 MB / 383.1 MB, free: 49.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.3041, allocations: 0.9379 MB / 384 MB, free: 49.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009459/0.3135, allocations: 7.932 MB / 391.9 MB, free: 46.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.3137, allocations: 14.59 kB / 392 MB, free: 46.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006866/0.3144, allocations: 394.6 kB / 392.3 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/0.3147, allocations: 0.5886 MB / 392.9 MB, free: 45.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005844/0.3205, allocations: 4.151 MB / 397.1 MB, free: 41.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.3522, allocations: 31.14 MB / 428.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006595/0.3588, allocations: 6.401 MB / 434.6 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.3598, allocations: 1.064 MB / 435.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006572/0.3664, allocations: 4.48 MB / 440.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3664, allocations: 64.89 kB / 440.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 4.739e-06/0.3664, allocations: 0 / 440.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.01349/0.3799, allocations: 7.088 MB / 447.3 MB, free: 8.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3799, allocations: 85.78 kB / 447.4 MB, free: 8.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.3821, allocations: 2.501 MB / 449.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.3823, allocations: 77.7 kB / 450 MB, free: 6.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.3839, allocations: 4.071 MB / 454.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.3845, allocations: 1.096 MB / 455.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009927/0.3855, allocations: 1.011 MB / 456.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.3855, allocations: 305.1 kB / 456.5 MB, free: 352 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009238/0.3865, allocations: 0.7249 MB / 457.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.3883, allocations: 2.941 MB / 460.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/0.3912, allocations: 4.166 MB / 464.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/0.3913, allocations: 27.94 kB / 464.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00481/0.3961, allocations: 3.873 MB / 468.2 MB, free: 3.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.3961, allocations: 43.94 kB / 468.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-05/0.3962, allocations: 80 kB / 468.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.3981, allocations: 1.046 MB / 469.4 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.4001, allocations: 1.117 MB / 470.5 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.4052, allocations: 4.529 MB / 475 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.407, allocations: 227.8 kB / 475.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.4073, allocations: 232 kB / 475.5 MB, free: 12.39 MB / 378.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.001946/0.4093, allocations: 493.4 kB / 475.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/0.4098, allocations: 307.7 kB / 476.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.4129, allocations: 2.424 MB / 478.7 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002022/0.415, allocations: 1.522 MB / 480.2 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.415, allocations: 12 kB / 480.2 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.415, allocations: 15.94 kB / 480.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009314/0.4243, allocations: 6.749 MB / 487 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4243, allocations: 4 kB / 487 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.4254, allocations: 474.5 kB / 487.4 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.4271, allocations: 0.9268 MB / 488.4 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.4272, allocations: 63.98 kB / 488.4 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/0.4319, allocations: 4.124 MB / 492.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4319, allocations: 4 kB / 492.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.4358, allocations: 2.852 MB / 495.4 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4368, allocations: 455.7 kB / 495.8 MB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.4371, allocations: 60 kB / 495.9 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007857/0.4379, allocations: 96 kB / 496 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.4382, allocations: 230.2 kB / 496.2 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.4384, allocations: 71.97 kB / 496.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.44, allocations: 1.127 MB / 497.4 MB, free: 7.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.44, allocations: 0 / 497.4 MB, free: 7.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004043/0.4441, allocations: 1.535 MB / 498.9 MB, free: 6.16 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.0003974/0.4445, allocations: 225.3 kB / 499.2 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003837/0.4483, allocations: 3.022 MB / 0.4904 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001092/0.4484, allocations: 70.19 kB / 0.4905 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.4502, allocations: 1.463 MB / 0.4919 GB, free: 1.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.4522, allocations: 0.8547 MB / 0.4927 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/0.5797, allocations: 13.51 MB / 0.5059 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.5813, allocations: 1.834 MB / 0.5077 GB, free: 113.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001706/0.583, allocations: 0.6448 MB / 0.5084 GB, free: 113.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.5843, allocations: 0.805 MB / 0.5092 GB, free: 113 MB / 394.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5843, allocations: 0 / 0.5092 GB, free: 113 MB / 394.7 MB Notification: Performance of Templates: time 0.06896/0.6533, allocations: 59.65 MB / 0.5674 GB, free: 65.77 MB / 394.7 MB " [Timeout remaining time 659] 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","",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.308972362894565]