Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001396/0.001396, 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.001828/0.001828, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.046/1.046, allocations: 177 MB / 205.1 MB, free: 5.496 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.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.144e-05, allocations: 5.125 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1484/0.1484, allocations: 20.3 MB / 293.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1612, allocations: 6.659 MB / 300.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.1658, allocations: 174.7 kB / 300.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009789/0.1756, allocations: 7.056 MB / 307.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.1832, allocations: 2.85 MB / 310.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.1874, allocations: 1.558 MB / 312 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009747/0.1972, allocations: 9.47 MB / 321.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01595/0.2131, allocations: 10.95 MB / 332.4 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.2258, allocations: 7.024 MB / 339.4 MB, free: 116 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009558/0.2354, allocations: 5.088 MB / 344.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003873/0.2393, allocations: 1.352 MB / 345.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.2455, allocations: 1.698 MB / 347.5 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003923/0.2495, allocations: 2.704 MB / 350.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007154/0.2566, allocations: 3.369 MB / 353.6 MB, free: 1.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.2695, allocations: 8.489 MB / 362.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2695, allocations: 0 / 362.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2695, allocations: 0 / 362.1 MB, free: 9.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004081/0.2699, allocations: 4 kB / 362.1 MB, free: 9.359 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.01932/0.2892, allocations: 10.39 MB / 372.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2892, allocations: 15.98 kB / 372.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.3075, allocations: 5.549 MB / 378.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008739/0.3162, allocations: 5.17 MB / 383.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004152/0.3166, allocations: 0.5617 MB / 383.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.3187, allocations: 0.7459 MB / 384.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.3333, allocations: 6.167 MB / 390.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.3334, allocations: 7.953 kB / 390.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.3345, allocations: 312 kB / 391 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/0.3348, allocations: 492.1 kB / 391.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007956/0.3428, allocations: 3.141 MB / 394.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.046/0.3888, allocations: 32.28 MB / 426.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006594/0.3954, allocations: 6.257 MB / 433.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.397, allocations: 1.179 MB / 434.4 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004757/0.3974, allocations: 143.1 kB / 434.5 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.3975, allocations: 80.61 kB / 434.6 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.302e-06/0.3975, allocations: 4 kB / 434.6 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.1488/0.5463, allocations: 8.444 MB / 443 MB, free: 90.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5463, allocations: 93.95 kB / 443.1 MB, free: 90.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.5493, allocations: 2.451 MB / 445.6 MB, free: 90.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.5496, allocations: 90.73 kB / 445.7 MB, free: 90.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.551, allocations: 3.344 MB / 449 MB, free: 88.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.552, allocations: 1.512 MB / 450.5 MB, free: 87.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.5531, allocations: 1.053 MB / 451.6 MB, free: 87.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.5531, allocations: 483.6 kB / 452 MB, free: 87.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009114/0.554, allocations: 0.6133 MB / 452.6 MB, free: 87.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.5558, allocations: 3.026 MB / 455.7 MB, free: 84.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.5597, allocations: 4.134 MB / 459.8 MB, free: 81.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.54e-05/0.5598, allocations: 15.28 kB / 459.8 MB, free: 81.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005667/0.5655, allocations: 4.189 MB / 464 MB, free: 81.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.5655, allocations: 26.75 kB / 464 MB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.275e-05/0.5656, allocations: 51.59 kB / 464.1 MB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/0.568, allocations: 1.076 MB / 465.2 MB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.5707, allocations: 1.046 MB / 466.2 MB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/0.5783, allocations: 7.382 MB / 473.6 MB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.5809, allocations: 170.6 kB / 473.8 MB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/0.5814, allocations: 193.4 kB / 473.9 MB, free: 77.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0021/0.5835, allocations: 491.2 kB / 474.4 MB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/0.5843, allocations: 482.4 kB / 474.9 MB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.5897, allocations: 3.363 MB / 478.3 MB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.5897, allocations: 44 kB / 478.3 MB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.5897, allocations: 19.41 kB / 478.3 MB, free: 75.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/0.5898, allocations: 26.81 kB / 478.3 MB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.6056, allocations: 9.786 MB / 488.1 MB, free: 69.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.6056, allocations: 8 kB / 488.1 MB, free: 69.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/0.6075, allocations: 0.6636 MB / 488.8 MB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.6099, allocations: 0.9825 MB / 489.8 MB, free: 67.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.6101, allocations: 99.97 kB / 489.9 MB, free: 67.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/0.6166, allocations: 6.942 MB / 496.8 MB, free: 60.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6166, allocations: 4 kB / 496.8 MB, free: 60.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006885/0.6235, allocations: 4.299 MB / 0.4894 GB, free: 56.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.6252, allocations: 0.7314 MB / 0.4901 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.6256, allocations: 81.09 kB / 0.4902 GB, free: 55.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6268, allocations: 108 kB / 0.4903 GB, free: 55.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/0.6274, allocations: 318 kB / 0.4906 GB, free: 54.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/0.6276, allocations: 95.97 kB / 0.4907 GB, free: 54.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.6291, allocations: 1.113 MB / 0.4918 GB, free: 53.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6291, allocations: 4 kB / 0.4918 GB, free: 53.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004524/0.6337, allocations: 1.383 MB / 0.4931 GB, free: 52.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004688/0.6341, allocations: 273.5 kB / 0.4934 GB, free: 52.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.6386, allocations: 3.557 MB / 0.4968 GB, free: 48.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6386, allocations: 1.938 kB / 0.4969 GB, free: 48.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.6408, allocations: 2.119 MB / 0.4989 GB, free: 46.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.6434, allocations: 0.76 MB / 0.4997 GB, free: 46.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.6588, allocations: 11.53 MB / 0.5109 GB, free: 34.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.6608, allocations: 2.092 MB / 0.513 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001915/0.6627, allocations: 0.5795 MB / 0.5135 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.6641, allocations: 0.8767 MB / 0.5144 GB, free: 30.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.6641, allocations: 0 / 0.5144 GB, free: 30.91 MB / 378.7 MB Notification: Performance of Templates: time 0.07655/0.7407, allocations: 59.87 MB / 0.5729 GB, free: 3.867 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_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_Inverter/IMC_Inverter.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.621530444826931]