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.000892/0.000892, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001386/0.001386, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8902/0.8902, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.363e-06/1.363e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.779e-05, allocations: 7.125 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01361/0.01363, allocations: 18.65 MB / 343.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.02414, allocations: 6.504 MB / 349.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.02641, allocations: 175.2 kB / 349.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007219/0.03362, allocations: 6.719 MB / 356.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.03819, allocations: 2.862 MB / 359.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.04005, allocations: 1.557 MB / 361 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.04656, allocations: 9.44 MB / 370.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009553/0.05611, allocations: 10.93 MB / 381.4 MB, free: 6.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.06168, allocations: 6.978 MB / 388.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.06554, allocations: 4.479 MB / 392.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.06674, allocations: 1.352 MB / 394.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.06876, allocations: 1.695 MB / 395.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.07009, allocations: 2.657 MB / 398.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003102/0.07319, allocations: 3.326 MB / 401.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.08517, allocations: 18.55 MB / 420.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.08517, allocations: 0 / 420.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08517, allocations: 4 kB / 420.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.08533, allocations: 0 / 420.4 MB, free: 15.61 MB / 394.7 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.01401/0.09934, allocations: 10.58 MB / 431 MB, free: 4.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.09939, allocations: 11.98 kB / 431 MB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001302/0.1007, allocations: 1.086 MB / 432.1 MB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.1167, allocations: 5.911 MB / 438 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008077/0.1247, allocations: 5.784 MB / 443.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.125, allocations: 0.5578 MB / 444.4 MB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000901/0.1259, allocations: 0.7382 MB / 445.1 MB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1692/0.2951, allocations: 13.03 MB / 458.1 MB, free: 98.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.2952, allocations: 12.58 kB / 458.1 MB, free: 98.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006029/0.2958, allocations: 308.1 kB / 458.4 MB, free: 98.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003811/0.2962, allocations: 496.8 kB / 458.9 MB, free: 98.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.3097, allocations: 12.55 MB / 471.5 MB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.3392, allocations: 37.08 MB / 0.4966 GB, free: 55.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0071/0.3463, allocations: 8.523 MB / 0.505 GB, free: 48.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.3486, allocations: 2.917 MB / 0.5078 GB, free: 45.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.3488, allocations: 99.08 kB / 0.5079 GB, free: 45.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.3488, allocations: 77.78 kB / 0.508 GB, free: 45.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=410): time 5.11e-06/0.3488, allocations: 0 / 0.508 GB, free: 45.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=415): time 0.01975/0.3686, allocations: 16.75 MB / 0.5243 GB, free: 28.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.3686, allocations: 98.61 kB / 0.5244 GB, free: 28.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.3712, allocations: 2.915 MB / 0.5273 GB, free: 25.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.3714, allocations: 97.64 kB / 0.5274 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/0.3722, allocations: 3.132 MB / 0.5304 GB, free: 22.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/0.3727, allocations: 1.446 MB / 0.5318 GB, free: 21.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008268/0.3736, allocations: 0.9505 MB / 0.5328 GB, free: 20.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.62e-05/0.3736, allocations: 313 kB / 0.5331 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.3756, allocations: 2.497 MB / 0.5355 GB, free: 17.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.3781, allocations: 4.13 MB / 0.5395 GB, free: 12.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004994/0.3831, allocations: 7.191 MB / 0.5466 GB, free: 4.773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.3831, allocations: 16 kB / 0.5466 GB, free: 4.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.007862/0.391, allocations: 7.999 MB / 0.5544 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.391, allocations: 24 kB / 0.5544 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/0.391, allocations: 56.06 kB / 0.5545 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.3929, allocations: 1.194 MB / 0.5556 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.395, allocations: 1.135 MB / 0.5567 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.4052, allocations: 10.72 MB / 0.5672 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.4071, allocations: 267.8 kB / 0.5675 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.4074, allocations: 236 kB / 0.5677 GB, free: 14.88 MB / 442.7 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.004081/0.4115, allocations: 2.959 MB / 0.5706 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/0.412, allocations: 361.7 kB / 0.5709 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007517/0.4196, allocations: 6.635 MB / 0.5774 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.4196, allocations: 47.94 kB / 0.5774 GB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4196, allocations: 12 kB / 0.5775 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.4196, allocations: 19.92 kB / 0.5775 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.4354, allocations: 14.13 MB / 0.5913 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4354, allocations: 8 kB / 0.5913 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.4369, allocations: 0.7489 MB / 0.592 GB, free: 5.863 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.4386, allocations: 1.09 MB / 0.5931 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.4388, allocations: 99.97 kB / 0.5932 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009208/0.4481, allocations: 9.664 MB / 0.6026 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4481, allocations: 7.938 kB / 0.6026 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.4585, allocations: 9.955 MB / 0.6123 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.46, allocations: 0.8846 MB / 0.6132 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.4602, allocations: 87.94 kB / 0.6133 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.4612, allocations: 207.7 kB / 0.6135 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/0.4616, allocations: 327 kB / 0.6138 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.4618, allocations: 124 kB / 0.6139 GB, free: 15.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001975/0.4637, allocations: 1.943 MB / 0.6158 GB, free: 13.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4637, allocations: 0 / 0.6158 GB, free: 13.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003024/0.4668, allocations: 1.391 MB / 0.6172 GB, free: 11.73 MB / 490.7 MB 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.01025/0.477, allocations: 10.68 MB / 0.6276 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1435/0.6205, allocations: 6.47 MB / 0.6339 GB, free: 175.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6205, allocations: 0 / 0.6339 GB, free: 175.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.6238, allocations: 3.298 MB / 0.6371 GB, free: 174.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.6259, allocations: 0.83 MB / 0.6379 GB, free: 174.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04921/0.6751, allocations: 47.06 MB / 0.6839 GB, free: 131.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/0.678, allocations: 4.598 MB / 0.6884 GB, free: 127.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00252/0.6805, allocations: 1.622 MB / 0.69 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/0.6826, allocations: 2.683 MB / 0.6926 GB, free: 122.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6826, allocations: 0 / 0.6926 GB, free: 122.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.784, allocations: 113.8 MB / 0.8037 GB, free: 9.566 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.46, allocations: 3.953 kB / 0.8037 GB, free: 9.562 MB / 490.7 MB " [Timeout remaining time 648] (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/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] "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: 13.749536724761128]