Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 209.1 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 53.37 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0233/0.2881, allocations: 18.61 MB / 451 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.3016, allocations: 6.493 MB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.3051, allocations: 175.1 kB / 457.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0163/0.3214, allocations: 6.387 MB / 464 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009202/0.3306, allocations: 2.822 MB / 466.9 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.3354, allocations: 1.554 MB / 468.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0128/0.3482, allocations: 9.182 MB / 477.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01838/0.3665, allocations: 11.06 MB / 488.7 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007743/0.3743, allocations: 4.773 MB / 493.4 MB, free: 9.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00968/0.384, allocations: 5.245 MB / 498.7 MB, free: 4.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003565/0.3875, allocations: 1.352 MB / 0.4883 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.3928, allocations: 1.687 MB / 0.49 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.3967, allocations: 2.63 MB / 0.4925 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007892/0.4046, allocations: 3.837 MB / 0.4963 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02254/0.4271, allocations: 18.33 MB / 0.5142 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4271, allocations: 0 / 0.5142 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4271, allocations: 0 / 0.5142 GB, free: 8.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003876/0.4275, allocations: 0 / 0.5142 GB, free: 8.203 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.03122/0.4587, allocations: 10.66 MB / 0.5246 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4588, allocations: 8.031 kB / 0.5246 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03424/0.493, allocations: 5.895 MB / 0.5303 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/0.5071, allocations: 5.776 MB / 0.536 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006095/0.5077, allocations: 0.554 MB / 0.5365 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/0.5107, allocations: 0.7381 MB / 0.5372 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4128/0.9235, allocations: 13.03 MB / 0.55 GB, free: 85.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.9237, allocations: 13.92 kB / 0.55 GB, free: 85.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/0.9247, allocations: 310.3 kB / 0.5503 GB, free: 85.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/0.9251, allocations: 496.4 kB / 0.5508 GB, free: 85.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.9453, allocations: 12.55 MB / 0.563 GB, free: 75.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05733/1.003, allocations: 35.98 MB / 0.5982 GB, free: 39.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/1.015, allocations: 8.506 MB / 0.6065 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004427/1.02, allocations: 2.917 MB / 0.6093 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/1.02, allocations: 99.12 kB / 0.6094 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/1.02, allocations: 74.16 kB / 0.6095 GB, free: 29.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.994e-06/1.02, allocations: 0 / 0.6095 GB, free: 29.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.0343/1.055, allocations: 16.74 MB / 0.6258 GB, free: 12.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.055, allocations: 94.67 kB / 0.6259 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.059, allocations: 2.695 MB / 0.6285 GB, free: 9.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004932/1.059, allocations: 93.7 kB / 0.6286 GB, free: 9.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.061, allocations: 3.155 MB / 0.6317 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.062, allocations: 1.473 MB / 0.6332 GB, free: 5.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.064, allocations: 0.9544 MB / 0.6341 GB, free: 4.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/1.064, allocations: 313 kB / 0.6344 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/1.067, allocations: 2.497 MB / 0.6368 GB, free: 1.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005401/1.073, allocations: 4.133 MB / 0.6409 GB, free: 12.58 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.084, allocations: 7.199 MB / 0.6479 GB, free: 4.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.796e-05/1.084, allocations: 12 kB / 0.6479 GB, free: 4.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01799/1.102, allocations: 7.976 MB / 0.6557 GB, free: 12.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/1.102, allocations: 26.16 kB / 0.6557 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.065e-05/1.102, allocations: 56 kB / 0.6558 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/1.106, allocations: 1.19 MB / 0.6569 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004955/1.111, allocations: 1.139 MB / 0.658 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/1.128, allocations: 10.66 MB / 0.6685 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/1.132, allocations: 263.7 kB / 0.6687 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.133, allocations: 236 kB / 0.6689 GB, free: 14.88 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.006296/1.139, allocations: 2.956 MB / 0.6718 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.141, allocations: 353.8 kB / 0.6722 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.156, allocations: 6.629 MB / 0.6786 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/1.156, allocations: 44 kB / 0.6787 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/1.156, allocations: 8 kB / 0.6787 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-05/1.156, allocations: 19.92 kB / 0.6787 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03046/1.186, allocations: 13.08 MB / 0.6915 GB, free: 7.691 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/1.186, allocations: 4 kB / 0.6915 GB, free: 7.688 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/1.19, allocations: 0.7612 MB / 0.6922 GB, free: 6.926 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/1.194, allocations: 1.089 MB / 0.6933 GB, free: 5.828 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008863/1.194, allocations: 95.97 kB / 0.6934 GB, free: 5.734 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/1.21, allocations: 9.595 MB / 0.7027 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.21, allocations: 12.09 kB / 0.7028 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.231, allocations: 9.962 MB / 0.7125 GB, free: 1.844 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003376/1.234, allocations: 0.8606 MB / 0.7133 GB, free: 0.9805 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.236, allocations: 76 kB / 0.7134 GB, free: 0.9062 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002919/1.238, allocations: 203.8 kB / 0.7136 GB, free: 0.707 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/1.24, allocations: 319 kB / 0.7139 GB, free: 404 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006234/1.24, allocations: 128 kB / 0.714 GB, free: 276 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004263/1.245, allocations: 1.791 MB / 0.7158 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.245, allocations: 0 / 0.7158 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007403/1.252, allocations: 1.383 MB / 0.7171 GB, free: 13.09 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.001288/1.253, allocations: 273.8 kB / 0.7174 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01441/1.268, allocations: 6.473 MB / 0.7237 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.268, allocations: 0 / 0.7237 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007917/1.276, allocations: 3.307 MB / 0.7269 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005841/1.281, allocations: 0.7377 MB / 0.7277 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/1.318, allocations: 14.02 MB / 0.7413 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2433/1.561, allocations: 4.458 MB / 0.7457 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.563, allocations: 363.9 kB / 0.746 GB, free: 181.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.473e-06/1.563, allocations: 0 / 0.746 GB, free: 181.1 MB / 0.545 GB Notification: Performance of Templates: time 0.168/1.731, allocations: 178 MB / 0.9199 GB, free: 25.11 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 15.68625386999338]