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.IMC_withLosses.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.0008392/0.0008392, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003941/0.003941, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8864/0.8864, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.351e-05, allocations: 2.281 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01674/0.01676, allocations: 21.51 MB / 347.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.03107, allocations: 7.762 MB / 355.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.03493, allocations: 218.9 kB / 355.4 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00898/0.04391, allocations: 8.252 MB / 363.6 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.05063, allocations: 3.142 MB / 366.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.05365, allocations: 1.83 MB / 368.6 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009089/0.06274, allocations: 11.7 MB / 380.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.07842, allocations: 14.52 MB / 394.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.08938, allocations: 8.897 MB / 403.7 MB, free: 1.215 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007245/0.09662, allocations: 5.622 MB / 409.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002258/0.09888, allocations: 1.711 MB / 411 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.1021, allocations: 2.159 MB / 413.2 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002125/0.1042, allocations: 3.46 MB / 416.7 MB, free: 4.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003844/0.108, allocations: 4.234 MB / 420.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02049/0.1285, allocations: 23.49 MB / 444.4 MB, free: 8.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1285, allocations: 7.875 kB / 444.4 MB, free: 8.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1285, allocations: 0 / 444.4 MB, free: 8.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005215/0.1291, allocations: 3.984 kB / 444.4 MB, free: 8.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.3251/0.4542, allocations: 13.46 MB / 457.9 MB, free: 100.1 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4542, allocations: 7.938 kB / 457.9 MB, free: 100.1 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.4706, allocations: 6.253 MB / 464.1 MB, free: 96.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.4812, allocations: 7.371 MB / 471.5 MB, free: 89.99 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.4816, allocations: 0.7183 MB / 472.2 MB, free: 89.28 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002138/0.4838, allocations: 0.9444 MB / 473.2 MB, free: 88.35 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.505, allocations: 16.31 MB / 489.5 MB, free: 71.97 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.5051, allocations: 15.91 kB / 489.5 MB, free: 71.95 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006617/0.5058, allocations: 399.4 kB / 489.9 MB, free: 71.57 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/0.506, allocations: 0.5591 MB / 490.4 MB, free: 71.01 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.5209, allocations: 15.08 MB / 0.4937 GB, free: 55.91 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04865/0.5695, allocations: 45.44 MB / 0.538 GB, free: 10.24 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/0.5781, allocations: 8.526 MB / 0.5464 GB, free: 2.48 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/0.5815, allocations: 3.316 MB / 0.5496 GB, free: 15.16 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.5818, allocations: 115.4 kB / 0.5497 GB, free: 15.05 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.5818, allocations: 78.06 kB / 0.5498 GB, free: 14.96 MB / 426.8 MB Notification: Performance of pre-optimization done (n=447): time 6.402e-06/0.5818, allocations: 4 kB / 0.5498 GB, free: 14.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=452): time 0.03507/0.6169, allocations: 20.34 MB / 0.5697 GB, free: 10.74 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.6169, allocations: 103 kB / 0.5697 GB, free: 10.62 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/0.6215, allocations: 4.408 MB / 0.5741 GB, free: 6.234 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006857/0.6222, allocations: 93.7 kB / 0.5741 GB, free: 6.137 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00202/0.6242, allocations: 4.33 MB / 0.5784 GB, free: 1.793 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.6257, allocations: 1.595 MB / 0.5799 GB, free: 224 kB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.627, allocations: 1.197 MB / 0.5811 GB, free: 15.02 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.627, allocations: 309.1 kB / 0.5814 GB, free: 14.71 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.6304, allocations: 3.069 MB / 0.5844 GB, free: 11.64 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004237/0.6346, allocations: 5.235 MB / 0.5895 GB, free: 5.422 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008952/0.6436, allocations: 8.876 MB / 0.5982 GB, free: 11.57 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.528e-05/0.6437, allocations: 20 kB / 0.5982 GB, free: 11.55 MB / 474.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01379/0.6574, allocations: 9.82 MB / 0.6078 GB, free: 1.715 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.6575, allocations: 36 kB / 0.6078 GB, free: 1.68 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.6576, allocations: 68 kB / 0.6079 GB, free: 1.613 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/0.6601, allocations: 1.373 MB / 0.6092 GB, free: 240 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003442/0.6636, allocations: 1.392 MB / 0.6106 GB, free: 14.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.6753, allocations: 12.05 MB / 0.6223 GB, free: 2.594 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003616/0.6789, allocations: 351.6 kB / 0.6227 GB, free: 2.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009883/0.6799, allocations: 296 kB / 0.623 GB, free: 1.961 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2158/0.8957, allocations: 3.886 MB / 0.6268 GB, free: 160.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.8967, allocations: 466.6 kB / 0.6272 GB, free: 160.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008488/0.9052, allocations: 8.429 MB / 0.6354 GB, free: 158 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005914/0.9111, allocations: 6.193 MB / 0.6415 GB, free: 155.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/0.9112, allocations: 15.75 kB / 0.6415 GB, free: 155.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/0.9112, allocations: 23.38 kB / 0.6415 GB, free: 155.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.9305, allocations: 14.96 MB / 0.6561 GB, free: 147.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.9306, allocations: 8 kB / 0.6561 GB, free: 147.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.9323, allocations: 0.813 MB / 0.6569 GB, free: 146.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.9342, allocations: 1.249 MB / 0.6582 GB, free: 145.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002448/0.9345, allocations: 106.7 kB / 0.6583 GB, free: 145.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008258/0.9427, allocations: 10.98 MB / 0.669 GB, free: 135.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9427, allocations: 11.94 kB / 0.669 GB, free: 135.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.954, allocations: 11.13 MB / 0.6799 GB, free: 124.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002897/0.9569, allocations: 1.036 MB / 0.6809 GB, free: 123.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005968/0.9575, allocations: 84 kB / 0.6809 GB, free: 123.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.9587, allocations: 233.9 kB / 0.6812 GB, free: 123.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/0.9592, allocations: 351.2 kB / 0.6815 GB, free: 122.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.9594, allocations: 142.8 kB / 0.6816 GB, free: 122.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002704/0.9621, allocations: 2.95 MB / 0.6845 GB, free: 119.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.9621, allocations: 0 / 0.6845 GB, free: 119.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004971/0.967, allocations: 1.717 MB / 0.6862 GB, free: 118.1 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.9683, allocations: 0.5597 MB / 0.6867 GB, free: 117.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008678/0.9769, allocations: 7.664 MB / 0.6942 GB, free: 110.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.9769, allocations: 0 / 0.6942 GB, free: 110.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00425/0.9812, allocations: 3.682 MB / 0.6978 GB, free: 106.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.9845, allocations: 0.9537 MB / 0.6988 GB, free: 105.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.006, allocations: 17.95 MB / 0.7163 GB, free: 87.38 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003865/1.009, allocations: 5.892 MB / 0.722 GB, free: 81.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.011, allocations: 440.4 kB / 0.7225 GB, free: 81.02 MB / 490.8 MB Notification: Performance of SimCode: time 2.364e-06/1.011, allocations: 0 / 0.7225 GB, free: 81.02 MB / 490.8 MB Notification: Performance of Templates: time 0.3627/1.374, allocations: 231.8 MB / 0.9488 GB, free: 49.11 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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: 12.312614150345325]