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.001808/0.001808, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002286/0.002286, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.529/1.529, allocations: 230.4 MB / 254 MB, free: 15.01 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 59.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.111, allocations: 53.39 MB / 426.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.27/0.381, allocations: 21.64 MB / 448 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.3981, allocations: 6.805 MB / 454.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006764/0.4048, allocations: 170.8 kB / 455 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01856/0.4234, allocations: 6.911 MB / 461.9 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.4349, allocations: 2.795 MB / 464.7 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005517/0.4404, allocations: 1.562 MB / 466.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01468/0.4551, allocations: 9.081 MB / 475.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02206/0.4771, allocations: 13.05 MB / 488.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008896/0.486, allocations: 4.719 MB / 493.1 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.4973, allocations: 5.218 MB / 498.4 MB, free: 8.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003756/0.501, allocations: 1.359 MB / 499.7 MB, free: 7.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.507, allocations: 1.691 MB / 0.4897 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004032/0.511, allocations: 2.627 MB / 0.4922 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009584/0.5206, allocations: 4.962 MB / 0.4971 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02548/0.5461, allocations: 18.25 MB / 0.5149 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.5461, allocations: 3.938 kB / 0.5149 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5461, allocations: 0 / 0.5149 GB, free: 11.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004592/0.5465, allocations: 0 / 0.5149 GB, free: 11.82 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.03629/0.5828, allocations: 10.74 MB / 0.5254 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.5829, allocations: 12.03 kB / 0.5254 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003575/0.5864, allocations: 1.086 MB / 0.5264 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03548/0.6219, allocations: 5.899 MB / 0.5322 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.6365, allocations: 5.746 MB / 0.5378 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007738/0.6373, allocations: 0.5595 MB / 0.5384 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0037/0.641, allocations: 0.7303 MB / 0.5391 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03863/0.6796, allocations: 12.89 MB / 0.5517 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004409/0.68, allocations: 11.94 kB / 0.5517 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003376/0.6834, allocations: 308 kB / 0.552 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007527/0.6842, allocations: 0.4922 MB / 0.5525 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/0.7172, allocations: 12.62 MB / 0.5648 GB, free: 8.465 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08672/0.8039, allocations: 41.54 MB / 0.6053 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4278/1.232, allocations: 25.86 MB / 0.6306 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005225/1.237, allocations: 2.921 MB / 0.6335 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/1.237, allocations: 271.1 kB / 0.6337 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/1.237, allocations: 75.83 kB / 0.6338 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=410): time 6.311e-06/1.237, allocations: 0 / 0.6338 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=415): time 0.04107/1.278, allocations: 17.09 MB / 0.6505 GB, free: 130 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.279, allocations: 94.67 kB / 0.6506 GB, free: 130 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/1.283, allocations: 2.845 MB / 0.6533 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007158/1.284, allocations: 92.33 kB / 0.6534 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001926/1.286, allocations: 3.143 MB / 0.6565 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.287, allocations: 1.467 MB / 0.6579 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/1.29, allocations: 0.9532 MB / 0.6589 GB, free: 125.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/1.29, allocations: 305.1 kB / 0.6592 GB, free: 125 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/1.294, allocations: 2.51 MB / 0.6616 GB, free: 124 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006125/1.3, allocations: 4.115 MB / 0.6656 GB, free: 121 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009988/1.31, allocations: 7.206 MB / 0.6727 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.787e-05/1.31, allocations: 15.78 kB / 0.6727 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01501/1.325, allocations: 8.033 MB / 0.6805 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/1.325, allocations: 31.41 kB / 0.6806 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.325, allocations: 49.28 kB / 0.6806 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/1.329, allocations: 1.234 MB / 0.6818 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/1.333, allocations: 1.136 MB / 0.6829 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.349, allocations: 11.24 MB / 0.6939 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/1.353, allocations: 263.7 kB / 0.6941 GB, free: 103 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.354, allocations: 232 kB / 0.6944 GB, free: 102.8 MB / 0.5138 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.005671/1.36, allocations: 2.96 MB / 0.6973 GB, free: 99.79 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/1.361, allocations: 369.2 kB / 0.6976 GB, free: 99.43 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.375, allocations: 6.67 MB / 0.7041 GB, free: 92.73 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/1.375, allocations: 44 kB / 0.7042 GB, free: 92.69 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-05/1.375, allocations: 10.72 kB / 0.7042 GB, free: 92.68 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/1.375, allocations: 19.92 kB / 0.7042 GB, free: 92.66 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/1.403, allocations: 14.87 MB / 0.7187 GB, free: 77.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/1.403, allocations: 6.938 kB / 0.7187 GB, free: 77.76 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/1.407, allocations: 0.7567 MB / 0.7195 GB, free: 77 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/1.41, allocations: 1.126 MB / 0.7206 GB, free: 75.87 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006655/1.411, allocations: 104 kB / 0.7207 GB, free: 75.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.423, allocations: 10.16 MB / 0.7306 GB, free: 65.34 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.423, allocations: 11.94 kB / 0.7306 GB, free: 65.33 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.44, allocations: 10.01 MB / 0.7404 GB, free: 55.19 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/1.442, allocations: 0.9436 MB / 0.7413 GB, free: 54.23 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.443, allocations: 96.73 kB / 0.7414 GB, free: 54.13 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.446, allocations: 203.7 kB / 0.7416 GB, free: 53.93 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008191/1.447, allocations: 299.3 kB / 0.7419 GB, free: 53.64 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003936/1.447, allocations: 128 kB / 0.742 GB, free: 53.52 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003368/1.451, allocations: 1.955 MB / 0.7439 GB, free: 51.55 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.451, allocations: 0 / 0.7439 GB, free: 51.55 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005838/1.456, allocations: 1.391 MB / 0.7452 GB, free: 50.16 MB / 0.5138 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.01563/1.472, allocations: 10.74 MB / 0.7557 GB, free: 39.29 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.483, allocations: 6.488 MB / 0.7621 GB, free: 32.79 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.483, allocations: 4 kB / 0.7621 GB, free: 32.79 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005742/1.489, allocations: 3.314 MB / 0.7653 GB, free: 29.45 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/1.495, allocations: 0.8421 MB / 0.7661 GB, free: 28.65 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09629/1.591, allocations: 47.11 MB / 0.8121 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/1.601, allocations: 5.077 MB / 0.8171 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00576/1.607, allocations: 1.61 MB / 0.8187 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005995/1.613, allocations: 2.682 MB / 0.8213 GB, free: 2.129 MB / 0.545 GB Notification: Performance of SimCode: time 2.385e-06/1.613, allocations: 0 / 0.8213 GB, free: 2.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3941/2.007, allocations: 111.7 MB / 0.9304 GB, free: 97.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/20.19, allocations: 11.84 kB / 0.9304 GB, free: 97.59 MB / 0.545 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv","/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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable aimc.wMechanical in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable aimc.wMechanical from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv failed! Error: Could not read variable currentQuasiRMSSensor.I in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv. Warning: Get data of variable currentQuasiRMSSensor.I from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.487587417010218]