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.00189/0.00189, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002177/0.002177, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.001945/0.001945, allocations: 59.91 kB / 377.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 53.4 MB / 431.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.025/0.3056, allocations: 18.62 MB / 449.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.3215, allocations: 6.502 MB / 456.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004803/0.3263, allocations: 171.2 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.3432, allocations: 6.384 MB / 462.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009998/0.3532, allocations: 2.802 MB / 465.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.3578, allocations: 1.539 MB / 467.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01325/0.3711, allocations: 9.178 MB / 476.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0175/0.3886, allocations: 10.9 MB / 487.3 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007496/0.3961, allocations: 4.766 MB / 492 MB, free: 9.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009144/0.4052, allocations: 4.975 MB / 497 MB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.4085, allocations: 1.355 MB / 498.4 MB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004553/0.4131, allocations: 1.675 MB / 0.4883 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003229/0.4163, allocations: 2.63 MB / 0.4909 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006913/0.4232, allocations: 3.837 MB / 0.4946 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02486/0.4481, allocations: 18.32 MB / 0.5125 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4481, allocations: 0 / 0.5125 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4481, allocations: 0 / 0.5125 GB, free: 8.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005567/0.4487, allocations: 4 kB / 0.5125 GB, free: 8.355 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.03356/0.4822, allocations: 10.66 MB / 0.5229 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4823, allocations: 11.98 kB / 0.5229 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002789/0.4851, allocations: 1.09 MB / 0.524 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03542/0.5205, allocations: 5.899 MB / 0.5298 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.5355, allocations: 5.782 MB / 0.5354 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006621/0.5361, allocations: 0.554 MB / 0.536 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2075/0.7436, allocations: 0.7298 MB / 0.5367 GB, free: 90 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/0.7707, allocations: 13.04 MB / 0.5494 GB, free: 85.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.7709, allocations: 10.77 kB / 0.5494 GB, free: 85.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009674/0.7719, allocations: 312.5 kB / 0.5497 GB, free: 84.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003731/0.7722, allocations: 498.5 kB / 0.5502 GB, free: 84.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/0.7926, allocations: 12.56 MB / 0.5625 GB, free: 74.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05129/0.8439, allocations: 37.07 MB / 0.5987 GB, free: 37.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.8555, allocations: 8.506 MB / 0.607 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/0.8597, allocations: 2.921 MB / 0.6098 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.86, allocations: 94.36 kB / 0.6099 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.86, allocations: 77.77 kB / 0.61 GB, free: 26.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.134e-06/0.86, allocations: 0 / 0.61 GB, free: 26.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03231/0.8923, allocations: 16.75 MB / 0.6263 GB, free: 10.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.8924, allocations: 94.67 kB / 0.6264 GB, free: 10.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.896, allocations: 2.91 MB / 0.6293 GB, free: 7.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00044/0.8964, allocations: 93.7 kB / 0.6294 GB, free: 7.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.8977, allocations: 3.145 MB / 0.6324 GB, free: 4.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009162/0.8987, allocations: 1.47 MB / 0.6339 GB, free: 2.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.8998, allocations: 0.9505 MB / 0.6348 GB, free: 1.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.8998, allocations: 309 kB / 0.6351 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.9033, allocations: 2.505 MB / 0.6375 GB, free: 14.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005814/0.9091, allocations: 4.134 MB / 0.6416 GB, free: 10.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.9204, allocations: 7.191 MB / 0.6486 GB, free: 2.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-05/0.9205, allocations: 15.94 kB / 0.6486 GB, free: 2.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01509/0.9355, allocations: 7.991 MB / 0.6564 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.9356, allocations: 28 kB / 0.6564 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-05/0.9357, allocations: 48 kB / 0.6565 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/0.9391, allocations: 1.191 MB / 0.6576 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/0.9434, allocations: 1.139 MB / 0.6588 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.9603, allocations: 10.72 MB / 0.6692 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/0.9639, allocations: 267.9 kB / 0.6695 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006574/0.9646, allocations: 236 kB / 0.6697 GB, free: 12.23 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.005257/0.9698, allocations: 2.952 MB / 0.6726 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009534/0.9708, allocations: 377.5 kB / 0.673 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.9838, allocations: 6.635 MB / 0.6794 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/0.9839, allocations: 51.88 kB / 0.6795 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.9839, allocations: 8 kB / 0.6795 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/0.9839, allocations: 19.92 kB / 0.6795 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02652/1.01, allocations: 14.11 MB / 0.6933 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.01, allocations: 8 kB / 0.6933 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.014, allocations: 0.7489 MB / 0.694 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/1.017, allocations: 1.089 MB / 0.6951 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003531/1.017, allocations: 103.9 kB / 0.6952 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.032, allocations: 9.659 MB / 0.7046 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/1.032, allocations: 11.94 kB / 0.7046 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.049, allocations: 9.975 MB / 0.7144 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/1.051, allocations: 0.8878 MB / 0.7152 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/1.052, allocations: 87.94 kB / 0.7153 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.054, allocations: 199.8 kB / 0.7155 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/1.055, allocations: 319.1 kB / 0.7158 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/1.055, allocations: 132 kB / 0.716 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003168/1.058, allocations: 1.943 MB / 0.7179 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.058, allocations: 0 / 0.7179 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004537/1.063, allocations: 1.387 MB / 0.7192 GB, free: 9.07 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.01729/1.08, allocations: 10.69 MB / 0.7296 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.092, allocations: 6.46 MB / 0.736 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.092, allocations: 4 kB / 0.736 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006552/1.099, allocations: 3.311 MB / 0.7392 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/1.103, allocations: 0.832 MB / 0.74 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2831/1.386, allocations: 47.02 MB / 0.7859 GB, free: 164.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004863/1.391, allocations: 4.603 MB / 0.7904 GB, free: 160.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004022/1.395, allocations: 1.623 MB / 0.792 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003117/1.398, allocations: 2.678 MB / 0.7946 GB, free: 155.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/1.398, allocations: 0 / 0.7946 GB, free: 155.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/1.559, allocations: 114 MB / 0.906 GB, free: 42.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/18.08, allocations: 4 kB / 0.906 GB, free: 42.43 MB / 0.545 GB " [Timeout remaining time 642] (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: 21.382282163016498]