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.001154/0.001154, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009549/0.0009549, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9284/0.9284, allocations: 177 MB / 205.2 MB, free: 5.039 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.924e-06/1.924e-06, allocations: 0 / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.877e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.128/0.1281, allocations: 20.36 MB / 293.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1395, allocations: 6.982 MB / 300.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.1431, allocations: 171.8 kB / 301 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.1515, allocations: 7.209 MB / 308.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.1586, allocations: 2.853 MB / 311 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.1615, allocations: 1.573 MB / 312.6 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.1691, allocations: 9.472 MB / 322.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01395/0.183, allocations: 11.29 MB / 333.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0128/0.1958, allocations: 7.052 MB / 340.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00898/0.2048, allocations: 5.131 MB / 345.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003439/0.2082, allocations: 1.352 MB / 346.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/0.2137, allocations: 1.714 MB / 348.6 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003399/0.2171, allocations: 2.7 MB / 351.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007314/0.2244, allocations: 3.365 MB / 354.7 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.235, allocations: 8.491 MB / 363.2 MB, free: 8.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.235, allocations: 3.984 kB / 363.2 MB, free: 8.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.235, allocations: 4 kB / 363.2 MB, free: 8.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002231/0.2352, allocations: 0 / 363.2 MB, free: 8.129 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.01469/0.2499, allocations: 9.764 MB / 372.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2499, allocations: 19.97 kB / 373 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.2677, allocations: 5.881 MB / 378.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006221/0.2739, allocations: 2.966 MB / 381.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.2743, allocations: 0.5578 MB / 382.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.2759, allocations: 0.7421 MB / 383.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/0.2846, allocations: 6.3 MB / 389.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.2847, allocations: 15.89 kB / 389.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005615/0.2853, allocations: 308 kB / 389.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000325/0.2856, allocations: 496.1 kB / 390.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005514/0.2911, allocations: 3.352 MB / 393.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03054/0.3217, allocations: 24.64 MB / 418.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/0.327, allocations: 4.989 MB / 423.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.3284, allocations: 1.02 MB / 424.2 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.3286, allocations: 123.1 kB / 424.3 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3287, allocations: 73.78 kB / 424.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.292e-06/0.3287, allocations: 4 kB / 424.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01406/0.3427, allocations: 7.592 MB / 432 MB, free: 2.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3428, allocations: 94.67 kB / 432.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.3444, allocations: 1.809 MB / 433.9 MB, free: 212 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.3445, allocations: 89.7 kB / 434 MB, free: 116 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1295/0.474, allocations: 2.864 MB / 436.9 MB, free: 93.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/0.4754, allocations: 1.451 MB / 438.3 MB, free: 92.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.4767, allocations: 0.8798 MB / 439.2 MB, free: 92.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.189e-05/0.4767, allocations: 306.8 kB / 439.5 MB, free: 92.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.4781, allocations: 0.6751 MB / 440.2 MB, free: 92.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.4798, allocations: 2.166 MB / 442.3 MB, free: 90.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.4833, allocations: 3.35 MB / 445.7 MB, free: 88.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.413e-05/0.4834, allocations: 14.38 kB / 445.7 MB, free: 88.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.004985/0.4884, allocations: 3.399 MB / 449.1 MB, free: 88.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.4884, allocations: 28.03 kB / 449.1 MB, free: 88.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.318e-05/0.4884, allocations: 50.56 kB / 449.2 MB, free: 88.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.4904, allocations: 1.034 MB / 450.2 MB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.4928, allocations: 1.092 MB / 451.3 MB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.498, allocations: 5.634 MB / 456.9 MB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.5002, allocations: 171.8 kB / 457.1 MB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004344/0.5006, allocations: 186.3 kB / 457.3 MB, free: 85.61 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.001546/0.5021, allocations: 437.4 kB / 457.7 MB, free: 85.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/0.5027, allocations: 346.7 kB / 458 MB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003521/0.5063, allocations: 2.794 MB / 460.8 MB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.5063, allocations: 38.94 kB / 460.9 MB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.5063, allocations: 11.59 kB / 460.9 MB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.5063, allocations: 22.31 kB / 460.9 MB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009597/0.5159, allocations: 7.402 MB / 468.3 MB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5159, allocations: 7.719 kB / 468.3 MB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.5174, allocations: 0.6921 MB / 469 MB, free: 84.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.5192, allocations: 0.9368 MB / 469.9 MB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/0.5194, allocations: 91.73 kB / 470 MB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.5239, allocations: 5.291 MB / 475.3 MB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.524, allocations: 4 kB / 475.3 MB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.5283, allocations: 3.514 MB / 478.8 MB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.5292, allocations: 486.5 kB / 479.3 MB, free: 75.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.5295, allocations: 80 kB / 479.4 MB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007842/0.5303, allocations: 108 kB / 479.5 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.5307, allocations: 314.1 kB / 479.8 MB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.5309, allocations: 91.97 kB / 479.9 MB, free: 75.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008405/0.5317, allocations: 0.8438 MB / 480.7 MB, free: 74.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5317, allocations: 5.094 kB / 480.7 MB, free: 74.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003182/0.5349, allocations: 1.387 MB / 482.1 MB, free: 73.2 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.0004628/0.5354, allocations: 249.3 kB / 482.4 MB, free: 73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003787/0.5392, allocations: 3.068 MB / 485.4 MB, free: 70.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.735e-05/0.5392, allocations: 43.84 kB / 485.5 MB, free: 70.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.5411, allocations: 1.814 MB / 487.3 MB, free: 68.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.5432, allocations: 0.752 MB / 488.1 MB, free: 67.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.5568, allocations: 11.22 MB / 499.3 MB, free: 56.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.5581, allocations: 1.522 MB / 0.4891 GB, free: 54.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001732/0.5599, allocations: 0.5943 MB / 0.4896 GB, free: 54.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/0.5612, allocations: 0.7842 MB / 0.4904 GB, free: 53.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/0.5612, allocations: 0 / 0.4904 GB, free: 53.46 MB / 378.7 MB Notification: Performance of Templates: time 0.06883/0.6301, allocations: 60.1 MB / 0.5491 GB, free: 10.18 MB / 394.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 -s gbode -gbm=radauIIA3 -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.3326586610637605]