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.001837/0.001837, allocations: 80.02 kB / 20.49 MB, free: 1.211 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.002468/0.002468, allocations: 164.2 kB / 23.75 MB, free: 4.234 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.464/1.464, allocations: 177.1 MB / 204 MB, free: 9.227 MB / 190.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.002035/0.002035, allocations: 56.78 kB / 324.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 53.38 MB / 378.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02325/0.1326, allocations: 18.62 MB / 396.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1462, allocations: 6.508 MB / 403.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.1488, allocations: 171.2 kB / 403.5 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01598/0.1648, allocations: 6.704 MB / 410.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009959/0.1747, allocations: 2.802 MB / 413 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00422/0.179, allocations: 1.548 MB / 414.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.1923, allocations: 9.17 MB / 423.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/0.2096, allocations: 10.91 MB / 434.6 MB, free: 7.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01262/0.2222, allocations: 7.158 MB / 441.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009509/0.2317, allocations: 4.979 MB / 446.7 MB, free: 10.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00373/0.2355, allocations: 1.355 MB / 448.1 MB, free: 9.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.2407, allocations: 1.683 MB / 449.8 MB, free: 7.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004308/0.245, allocations: 2.619 MB / 452.4 MB, free: 5.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008191/0.2532, allocations: 3.841 MB / 456.2 MB, free: 1.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2377/0.4909, allocations: 18.32 MB / 474.6 MB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4909, allocations: 0.5938 kB / 474.6 MB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4909, allocations: 0 / 474.6 MB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004145/0.4913, allocations: 0.5 kB / 474.6 MB, free: 35.32 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.03175/0.523, allocations: 10.65 MB / 485.2 MB, free: 32.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.5231, allocations: 13.39 kB / 485.2 MB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03355/0.5566, allocations: 5.915 MB / 491.1 MB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.569, allocations: 5.778 MB / 496.9 MB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005086/0.5695, allocations: 0.5514 MB / 497.5 MB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003374/0.5728, allocations: 0.7342 MB / 498.2 MB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03119/0.604, allocations: 13.03 MB / 0.4993 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003017/0.6043, allocations: 17.44 kB / 0.4993 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003184/0.6075, allocations: 313.1 kB / 0.4996 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004465/0.608, allocations: 498 kB / 0.5 GB, free: 24.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/0.6323, allocations: 12.56 MB / 0.5123 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0655/0.6978, allocations: 35.99 MB / 0.5475 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.7131, allocations: 8.515 MB / 0.5558 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005297/0.7184, allocations: 2.913 MB / 0.5586 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.7187, allocations: 95.14 kB / 0.5587 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.159e-05/0.7188, allocations: 77.78 kB / 0.5588 GB, free: 15.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=410): time 6.703e-06/0.7188, allocations: 0 / 0.5588 GB, free: 15.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=415): time 0.0388/0.7576, allocations: 16.74 MB / 0.5751 GB, free: 14.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.7577, allocations: 94.67 kB / 0.5752 GB, free: 14.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.7622, allocations: 2.689 MB / 0.5779 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005327/0.7627, allocations: 97.7 kB / 0.5779 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002912/0.7656, allocations: 3.159 MB / 0.581 GB, free: 8.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001717/0.7673, allocations: 1.461 MB / 0.5825 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.769, allocations: 0.9505 MB / 0.5834 GB, free: 6.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7691, allocations: 309.1 kB / 0.5837 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/0.7732, allocations: 2.501 MB / 0.5861 GB, free: 3.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/0.7789, allocations: 4.137 MB / 0.5902 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.7895, allocations: 7.192 MB / 0.5972 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/0.7896, allocations: 16 kB / 0.5972 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01465/0.8042, allocations: 7.974 MB / 0.605 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.8043, allocations: 28 kB / 0.605 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.622e-05/0.8044, allocations: 52 kB / 0.6051 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.8078, allocations: 1.191 MB / 0.6062 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.8121, allocations: 1.134 MB / 0.6073 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/0.8291, allocations: 10.68 MB / 0.6178 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/0.8327, allocations: 267.6 kB / 0.618 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006465/0.8333, allocations: 240.1 kB / 0.6182 GB, free: 1.734 MB / 0.5137 GB 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.005035/0.8384, allocations: 2.953 MB / 0.6211 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008842/0.8392, allocations: 345.8 kB / 0.6215 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.8521, allocations: 6.628 MB / 0.6279 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.004e-05/0.8522, allocations: 44 kB / 0.628 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/0.8522, allocations: 15.88 kB / 0.628 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/0.8522, allocations: 23.91 kB / 0.628 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/0.8778, allocations: 13.09 MB / 0.6408 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.8778, allocations: 4.75 kB / 0.6408 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/0.881, allocations: 0.7558 MB / 0.6415 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/0.8841, allocations: 1.085 MB / 0.6426 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/0.8845, allocations: 95.97 kB / 0.6427 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.899, allocations: 9.601 MB / 0.6521 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.899, allocations: 8 kB / 0.6521 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/0.9159, allocations: 9.958 MB / 0.6618 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/0.9183, allocations: 0.8568 MB / 0.6626 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/0.9189, allocations: 87.95 kB / 0.6627 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.9207, allocations: 199.8 kB / 0.6629 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.9213, allocations: 321.4 kB / 0.6632 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/0.9216, allocations: 127.9 kB / 0.6633 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002797/0.9244, allocations: 1.79 MB / 0.6651 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9244, allocations: 0 / 0.6651 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004573/0.929, allocations: 1.387 MB / 0.6664 GB, free: 320 kB / 0.5606 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.0005626/0.9295, allocations: 275.1 kB / 0.6667 GB, free: 80 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01247/0.942, allocations: 6.467 MB / 0.673 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.942, allocations: 0 / 0.673 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006718/0.9487, allocations: 3.297 MB / 0.6762 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/0.9527, allocations: 0.7371 MB / 0.677 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2254/1.178, allocations: 14.21 MB / 0.6908 GB, free: 215.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00561/1.184, allocations: 4.604 MB / 0.6953 GB, free: 215 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004002/1.188, allocations: 1.584 MB / 0.6969 GB, free: 215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/1.189, allocations: 324.5 kB / 0.6972 GB, free: 215 MB / 0.5762 GB Notification: Performance of SimCode: time 1.583e-06/1.189, allocations: 0 / 0.6972 GB, free: 215 MB / 0.5762 GB Notification: Performance of Templates: time 0.08231/1.271, allocations: 55 MB / 0.7509 GB, free: 170.4 MB / 0.5762 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.666751315817237]