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.001856/0.001856, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002256/0.002256, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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.51/1.51, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001915/0.001915, allocations: 67.88 kB / 378.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2241, allocations: 53.36 MB / 432.2 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02542/0.2496, allocations: 21.7 MB / 453.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.2634, allocations: 6.831 MB / 460.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.2671, allocations: 171.2 kB / 460.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01706/0.2841, allocations: 6.93 MB / 467.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008985/0.2931, allocations: 2.879 MB / 470.7 MB, free: 424 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.2976, allocations: 1.61 MB / 472.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.3104, allocations: 9.197 MB / 481.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01672/0.3271, allocations: 10.41 MB / 491.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007168/0.3342, allocations: 4.781 MB / 496.7 MB, free: 6.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008867/0.3431, allocations: 5.241 MB / 0.4901 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00356/0.3467, allocations: 1.359 MB / 0.4915 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005699/0.3524, allocations: 1.707 MB / 0.4931 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004459/0.3568, allocations: 2.615 MB / 0.4957 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007939/0.3648, allocations: 4.962 MB / 0.5005 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02079/0.3856, allocations: 18.26 MB / 0.5184 GB, free: 3.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3856, allocations: 0 / 0.5184 GB, free: 3.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3856, allocations: 0 / 0.5184 GB, free: 3.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003081/0.3859, allocations: 0 / 0.5184 GB, free: 3.988 MB / 430.1 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.03206/0.4179, allocations: 10.67 MB / 0.5288 GB, free: 9.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.418, allocations: 8.031 kB / 0.5288 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03581/0.4538, allocations: 5.899 MB / 0.5346 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2183/0.6721, allocations: 5.774 MB / 0.5402 GB, free: 86.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004619/0.6726, allocations: 0.5574 MB / 0.5407 GB, free: 86.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.675, allocations: 0.7359 MB / 0.5415 GB, free: 86.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/0.6977, allocations: 12.88 MB / 0.554 GB, free: 81.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.6979, allocations: 15.88 kB / 0.554 GB, free: 81.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009118/0.6988, allocations: 311 kB / 0.5543 GB, free: 81.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004321/0.6992, allocations: 496.5 kB / 0.5548 GB, free: 80.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.7174, allocations: 12.62 MB / 0.5671 GB, free: 71.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05824/0.7756, allocations: 40.55 MB / 0.6067 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/0.7892, allocations: 8.612 MB / 0.6152 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004347/0.7935, allocations: 2.922 MB / 0.618 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.7939, allocations: 117.5 kB / 0.6181 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.794, allocations: 69.78 kB / 0.6182 GB, free: 20.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.482e-06/0.794, allocations: 4 kB / 0.6182 GB, free: 20.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03841/0.8324, allocations: 16.95 MB / 0.6347 GB, free: 3.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.8324, allocations: 98.67 kB / 0.6348 GB, free: 3.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/0.8364, allocations: 2.839 MB / 0.6376 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004831/0.8369, allocations: 89.7 kB / 0.6377 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002104/0.839, allocations: 3.144 MB / 0.6408 GB, free: 13.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/0.8407, allocations: 1.467 MB / 0.6422 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/0.8426, allocations: 0.9544 MB / 0.6431 GB, free: 11.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8428, allocations: 301.1 kB / 0.6434 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/0.8472, allocations: 2.512 MB / 0.6459 GB, free: 8.648 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006059/0.8533, allocations: 4.113 MB / 0.6499 GB, free: 3.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/0.865, allocations: 7.206 MB / 0.6569 GB, free: 11.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.053e-05/0.8651, allocations: 20 kB / 0.6569 GB, free: 11.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01919/0.8843, allocations: 8.026 MB / 0.6648 GB, free: 3.816 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.8844, allocations: 28 kB / 0.6648 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.8845, allocations: 48 kB / 0.6648 GB, free: 3.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/0.8887, allocations: 1.233 MB / 0.6661 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/0.8936, allocations: 1.135 MB / 0.6672 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.9125, allocations: 11.04 MB / 0.6779 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/0.9163, allocations: 263.7 kB / 0.6782 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009864/0.9173, allocations: 243.9 kB / 0.6784 GB, free: 5.602 MB / 494.1 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.005967/0.9232, allocations: 2.959 MB / 0.6813 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.9245, allocations: 365.7 kB / 0.6817 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.9395, allocations: 6.667 MB / 0.6882 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/0.9396, allocations: 40 kB / 0.6882 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/0.9396, allocations: 12 kB / 0.6882 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.109e-05/0.9397, allocations: 19.92 kB / 0.6883 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/0.9732, allocations: 14.87 MB / 0.7028 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/0.9732, allocations: 7.938 kB / 0.7028 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003603/0.9768, allocations: 0.7528 MB / 0.7035 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003907/0.9807, allocations: 1.136 MB / 0.7046 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007976/0.9815, allocations: 99.91 kB / 0.7047 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.998, allocations: 9.955 MB / 0.7144 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.998, allocations: 7.938 kB / 0.7145 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/1.017, allocations: 10.02 MB / 0.7242 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003144/1.021, allocations: 0.8918 MB / 0.7251 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.022, allocations: 80 kB / 0.7252 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.024, allocations: 199.8 kB / 0.7254 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009008/1.025, allocations: 315.1 kB / 0.7257 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004494/1.026, allocations: 124 kB / 0.7258 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004049/1.03, allocations: 1.963 MB / 0.7277 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.03, allocations: 0 / 0.7277 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006008/1.036, allocations: 1.391 MB / 0.7291 GB, free: 1.227 MB / 0.5294 GB 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.0009523/1.037, allocations: 274 kB / 0.7293 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01301/1.05, allocations: 6.489 MB / 0.7357 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.05, allocations: 0 / 0.7357 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0072/1.057, allocations: 3.315 MB / 0.7389 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/1.062, allocations: 0.8288 MB / 0.7397 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2313/1.293, allocations: 14.25 MB / 0.7536 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004548/1.298, allocations: 5.086 MB / 0.7586 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003739/1.301, allocations: 1.619 MB / 0.7602 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009318/1.302, allocations: 331 kB / 0.7605 GB, free: 178.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/1.302, allocations: 3.5 kB / 0.7605 GB, free: 178.4 MB / 0.545 GB Notification: Performance of Templates: time 0.09204/1.394, allocations: 65.24 MB / 0.8242 GB, free: 126.8 MB / 0.545 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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: 7.941161686554551]