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.001228/0.001228, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002813, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001018/0.001018, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.002048, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9525/0.9525, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09238/1.045, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.563e-06/1.563e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.878e-06/1.144e-05, allocations: 5.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.03696/0.03697, allocations: 20.51 MB / 265.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.05483, allocations: 7.027 MB / 272.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.05598, allocations: 179.1 kB / 272.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1407/0.1967, allocations: 7.211 MB / 280.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007341/0.204, allocations: 2.846 MB / 283 MB, free: 1.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.2065, allocations: 1.572 MB / 284.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009174/0.2157, allocations: 9.514 MB / 294.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.2271, allocations: 10.99 MB / 305.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007389/0.2345, allocations: 7.296 MB / 312.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.2401, allocations: 5.129 MB / 317.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.2426, allocations: 1.352 MB / 318.8 MB, free: 11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.245, allocations: 1.708 MB / 320.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.2463, allocations: 2.178 MB / 322.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.2487, allocations: 2.82 MB / 325.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.2554, allocations: 7.996 MB / 333.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.2554, allocations: 2.719 kB / 333.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2554, allocations: 0 / 333.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.2555, allocations: 0 / 333.5 MB, free: 12.64 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.01369/0.2692, allocations: 11.38 MB / 344.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2692, allocations: 12.62 kB / 344.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.2863, allocations: 5.882 MB / 350.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005358/0.2916, allocations: 2.965 MB / 353.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.2919, allocations: 0.5531 MB / 354.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009074/0.2928, allocations: 0.745 MB / 355.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007886/0.3007, allocations: 6.302 MB / 361.4 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.3008, allocations: 16.81 kB / 361.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005517/0.3013, allocations: 305.6 kB / 361.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003321/0.3017, allocations: 476 kB / 362.2 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.3068, allocations: 3.349 MB / 365.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/0.3335, allocations: 24.74 MB / 390.3 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/0.3385, allocations: 4.999 MB / 395.3 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3397, allocations: 1.023 MB / 396.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.3399, allocations: 123.1 kB / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.34, allocations: 85.7 kB / 396.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 5.801e-06/0.34, allocations: 0 / 396.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01677/0.3567, allocations: 8.912 MB / 405.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3568, allocations: 98.67 kB / 405.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.3585, allocations: 1.806 MB / 407.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.3587, allocations: 93.7 kB / 407.4 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.3599, allocations: 2.867 MB / 410.3 MB, free: 2.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008977/0.3608, allocations: 1.453 MB / 411.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008439/0.3616, allocations: 0.8868 MB / 412.6 MB, free: 132 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.3617, allocations: 301.1 kB / 412.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.3625, allocations: 0.6767 MB / 413.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.364, allocations: 2.163 MB / 415.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/0.367, allocations: 3.511 MB / 419.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.414e-05/0.367, allocations: 19.94 kB / 419.3 MB, free: 8.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.004269/0.3713, allocations: 3.397 MB / 422.7 MB, free: 5.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.3713, allocations: 31.59 kB / 422.7 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/0.3714, allocations: 52 kB / 422.7 MB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.3732, allocations: 1.03 MB / 423.8 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.3757, allocations: 1.189 MB / 425 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2675/0.6432, allocations: 5.585 MB / 430.5 MB, free: 94.11 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.6455, allocations: 173.6 kB / 430.7 MB, free: 94.11 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.6458, allocations: 183.5 kB / 430.9 MB, free: 94.11 MB / 394.8 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.002173/0.648, allocations: 442.9 kB / 431.3 MB, free: 93.99 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/0.6486, allocations: 338.6 kB / 431.7 MB, free: 93.99 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/0.6526, allocations: 2.79 MB / 434.4 MB, free: 93.77 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.6527, allocations: 42.53 kB / 434.5 MB, free: 93.77 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.6527, allocations: 14.38 kB / 434.5 MB, free: 93.77 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.6527, allocations: 22.75 kB / 434.5 MB, free: 93.77 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008792/0.6615, allocations: 7.416 MB / 441.9 MB, free: 93.09 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6615, allocations: 3.531 kB / 441.9 MB, free: 93.09 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.663, allocations: 0.7626 MB / 442.7 MB, free: 93.09 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/0.6638, allocations: 478.8 kB / 443.2 MB, free: 93.09 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.6655, allocations: 0.9363 MB / 444.1 MB, free: 93.05 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/0.6657, allocations: 94.55 kB / 444.2 MB, free: 93.05 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/0.67, allocations: 5.245 MB / 449.4 MB, free: 90.6 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.67, allocations: 6.969 kB / 449.4 MB, free: 90.6 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.6738, allocations: 3.525 MB / 453 MB, free: 89.97 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.6741, allocations: 86.28 kB / 453.1 MB, free: 89.97 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.6749, allocations: 106.2 kB / 453.2 MB, free: 89.97 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.6752, allocations: 312.9 kB / 453.5 MB, free: 89.96 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.6754, allocations: 87.53 kB / 453.6 MB, free: 89.96 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0007727/0.6762, allocations: 0.8491 MB / 454.4 MB, free: 89.88 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6762, allocations: 0 / 454.4 MB, free: 89.88 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.002817/0.679, allocations: 1.38 MB / 455.8 MB, free: 89.88 MB / 394.8 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.0003898/0.6794, allocations: 263.6 kB / 456 MB, free: 89.8 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.6827, allocations: 3.122 MB / 459.2 MB, free: 89.34 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.636e-05/0.6828, allocations: 76.36 kB / 459.2 MB, free: 89.32 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.6847, allocations: 2.078 MB / 461.3 MB, free: 88.94 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.6872, allocations: 5.951 MB / 467.3 MB, free: 83.48 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04326/0.7305, allocations: 11.81 MB / 479.1 MB, free: 77.39 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.7317, allocations: 1.547 MB / 480.6 MB, free: 76.29 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001653/0.7334, allocations: 0.5838 MB / 481.2 MB, free: 75.83 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.7347, allocations: 0.7775 MB / 482 MB, free: 75.14 MB / 394.8 MB Notification: Performance of SimCode: time 1.262e-06/0.7347, allocations: 0 / 482 MB, free: 75.14 MB / 394.8 MB Notification: Performance of Templates: time 0.06584/0.8005, allocations: 63.77 MB / 0.533 GB, free: 13.21 MB / 394.8 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.228068326599896]