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.0009271/0.0009271, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001028/0.001028, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9873/0.9873, allocations: 158.6 MB / 187.5 MB, free: 2.941 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.443e-06/1.443e-06, allocations: 0 / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.514e-05, allocations: 2.312 kB / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02056/0.02058, allocations: 24.27 MB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.03507, allocations: 7.272 MB / 282.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007711/0.04278, allocations: 195 kB / 282.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02849/0.07127, allocations: 9.377 MB / 292.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.08586, allocations: 3.088 MB / 295.4 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.0901, allocations: 1.761 MB / 297.1 MB, free: 9.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.1031, allocations: 11.34 MB / 308.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01909/0.1221, allocations: 14.26 MB / 322.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.1355, allocations: 8.791 MB / 331.5 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008531/0.144, allocations: 6.133 MB / 337.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003881/0.1479, allocations: 1.676 MB / 339.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/0.1529, allocations: 2.054 MB / 341.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004355/0.1573, allocations: 3.336 MB / 344.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009332/0.1666, allocations: 4.187 MB / 348.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1403/0.3069, allocations: 10.51 MB / 359.4 MB, free: 52.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3069, allocations: 3.5 kB / 359.4 MB, free: 52.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3069, allocations: 0 / 359.4 MB, free: 52.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005816/0.3075, allocations: 0 / 359.4 MB, free: 52.84 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.02989/0.3374, allocations: 13.84 MB / 373.2 MB, free: 49.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3374, allocations: 12.83 kB / 373.3 MB, free: 49.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02847/0.3659, allocations: 8.94 MB / 382.2 MB, free: 48.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.3765, allocations: 5.804 MB / 388 MB, free: 46.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006179/0.3772, allocations: 0.7169 MB / 388.7 MB, free: 45.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003615/0.3808, allocations: 0.9344 MB / 389.7 MB, free: 45.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.4053, allocations: 8.471 MB / 398.1 MB, free: 39.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.4056, allocations: 15.94 kB / 398.1 MB, free: 39.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/0.4073, allocations: 398.8 kB / 398.5 MB, free: 39.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000351/0.4077, allocations: 0.5786 MB / 399.1 MB, free: 38.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.4246, allocations: 4.851 MB / 404 MB, free: 33.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0565/0.4811, allocations: 41.34 MB / 445.3 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.4939, allocations: 9.945 MB / 455.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.497, allocations: 1.414 MB / 456.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.5076, allocations: 6.142 MB / 462.8 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.5077, allocations: 75.7 kB / 462.9 MB, free: 8.324 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 4.479e-06/0.5077, allocations: 0 / 462.9 MB, free: 8.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=303): time 0.02029/0.528, allocations: 9.325 MB / 472.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.528, allocations: 85.78 kB / 472.3 MB, free: 14.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/0.5342, allocations: 3.468 MB / 475.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006885/0.5349, allocations: 73.7 kB / 475.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002554/0.5374, allocations: 4.658 MB / 480.5 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001522/0.539, allocations: 1.133 MB / 481.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.5406, allocations: 1.219 MB / 482.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5407, allocations: 484.8 kB / 483.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.5424, allocations: 0.7977 MB / 484.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004022/0.5464, allocations: 4.351 MB / 488.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006846/0.5533, allocations: 5.66 MB / 494.1 MB, free: 6.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.5534, allocations: 20 kB / 494.1 MB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01007/0.5635, allocations: 5.186 MB / 499.3 MB, free: 1.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.5635, allocations: 40.62 kB / 499.4 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/0.5637, allocations: 80 kB / 499.4 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/0.5664, allocations: 1.13 MB / 0.4888 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1702/0.7366, allocations: 1.219 MB / 0.49 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.7444, allocations: 6.059 MB / 0.4959 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.748, allocations: 326.4 kB / 0.4963 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008109/0.7488, allocations: 283.3 kB / 0.4965 GB, free: 101.9 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.00328/0.7521, allocations: 0.5284 MB / 0.497 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009093/0.753, allocations: 478.4 kB / 0.4975 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/0.7581, allocations: 3.213 MB / 0.5006 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003861/0.762, allocations: 2.261 MB / 0.5028 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.762, allocations: 9.938 kB / 0.5028 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.762, allocations: 15.75 kB / 0.5029 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.7811, allocations: 9.755 MB / 0.5124 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7811, allocations: 5.312 kB / 0.5124 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.7825, allocations: 0.5538 MB / 0.5129 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/0.7849, allocations: 1.009 MB / 0.5139 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.7851, allocations: 75.61 kB / 0.514 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006714/0.7918, allocations: 5.566 MB / 0.5194 GB, free: 98.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7918, allocations: 7.062 kB / 0.5194 GB, free: 98.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007224/0.7991, allocations: 3.928 MB / 0.5233 GB, free: 97.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.8006, allocations: 0.7376 MB / 0.524 GB, free: 97.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.801, allocations: 58.75 kB / 0.524 GB, free: 97.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.8021, allocations: 185.6 kB / 0.5242 GB, free: 97.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000494/0.8026, allocations: 235.3 kB / 0.5244 GB, free: 97.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.8027, allocations: 97.39 kB / 0.5245 GB, free: 97.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002219/0.8049, allocations: 1.572 MB / 0.5261 GB, free: 96 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8049, allocations: 0 / 0.5261 GB, free: 96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004689/0.8096, allocations: 1.541 MB / 0.5276 GB, free: 94.46 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.0005149/0.8101, allocations: 238.4 kB / 0.5278 GB, free: 94.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006038/0.8162, allocations: 3.814 MB / 0.5315 GB, free: 91.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.8162, allocations: 4.062 kB / 0.5315 GB, free: 91.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.8189, allocations: 1.842 MB / 0.5333 GB, free: 89.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.8219, allocations: 0.863 MB / 0.5342 GB, free: 88.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/0.8433, allocations: 13.78 MB / 0.5476 GB, free: 76.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.8455, allocations: 2.599 MB / 0.5502 GB, free: 74.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003059/0.8486, allocations: 1.592 MB / 0.5517 GB, free: 72.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/0.8493, allocations: 300.4 kB / 0.552 GB, free: 72.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.993e-06/0.8493, allocations: 4 kB / 0.552 GB, free: 72.2 MB / 394.7 MB Notification: Performance of Templates: time 0.06808/0.9174, allocations: 54.28 MB / 0.605 GB, free: 18.09 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.597427836153656]