Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.001842/0.001842, 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.002229/0.002229, allocations: 207.4 kB / 23.73 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2173, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007721/0.225, allocations: 5.593 MB / 436.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.229, allocations: 2.126 MB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.2294, allocations: 23.94 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2312, allocations: 0.7141 MB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.2325, allocations: 0.59 MB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2335, allocations: 0.5182 MB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.2348, allocations: 1.199 MB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.2358, allocations: 0.7494 MB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.2364, allocations: 486.2 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.237, allocations: 489.6 kB / 443.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.2372, allocations: 112 kB / 443.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.2377, allocations: 279.8 kB / 444 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.2379, allocations: 251.1 kB / 444.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.2384, allocations: 457.8 kB / 444.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.24, allocations: 1.494 MB / 446.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.24, allocations: 0 / 446.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.24, allocations: 0 / 446.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2401, allocations: 0 / 446.2 MB, free: 7.316 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003412/0.2435, allocations: 1.67 MB / 447.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2435, allocations: 11.98 kB / 447.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/0.2438, allocations: 174.3 kB / 448 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.2463, allocations: 391.9 kB / 448.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.2473, allocations: 0.5249 MB / 448.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.2474, allocations: 74.38 kB / 449 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.2475, allocations: 100.4 kB / 449.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.2494, allocations: 1.124 MB / 450.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.2494, allocations: 7.938 kB / 450.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/0.2495, allocations: 40 kB / 450.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2496, allocations: 24 kB / 450.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.2513, allocations: 0.8511 MB / 451.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.2568, allocations: 3.092 MB / 454.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2588, allocations: 0.8514 MB / 455.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009046/0.2597, allocations: 403.5 kB / 455.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2598, allocations: 24.62 kB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.2608, allocations: 0.5856 MB / 456.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.687e-06/0.2608, allocations: 0 / 456.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004626/0.2654, allocations: 1.493 MB / 457.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.2656, allocations: 192.9 kB / 457.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.2662, allocations: 489.9 kB / 458.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.2663, allocations: 45.69 kB / 458.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.2667, allocations: 428.7 kB / 458.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.267, allocations: 289.5 kB / 459 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.2672, allocations: 154.6 kB / 459.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.2675, allocations: 382.7 kB / 459.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.2681, allocations: 273.9 kB / 459.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/0.2689, allocations: 0.5762 MB / 460.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.2703, allocations: 0.7395 MB / 461.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2703, allocations: 3.938 kB / 461.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002106/0.2724, allocations: 1.018 MB / 462.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2724, allocations: 8 kB / 462.2 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2725, allocations: 8 kB / 462.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.2734, allocations: 269 kB / 462.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.2739, allocations: 139.8 kB / 462.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.28, allocations: 4.603 MB / 467.2 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.2807, allocations: 107.4 kB / 467.3 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.2808, allocations: 31.98 kB / 467.3 MB, free: 1.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004282/0.2812, allocations: 242.5 kB / 467.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.2813, allocations: 75.56 kB / 467.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.2835, allocations: 0.9592 MB / 468.6 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2835, allocations: 8 kB / 468.6 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2835, allocations: 4.188 kB / 468.6 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.2835, allocations: 3.984 kB / 468.6 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.2869, allocations: 1.768 MB / 470.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.2869, allocations: 3.984 kB / 470.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.2873, allocations: 95.88 kB / 470.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008081/0.2881, allocations: 261.4 kB / 470.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.2882, allocations: 23.92 kB / 470.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005877/0.2941, allocations: 4.549 MB / 475.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2941, allocations: 0 / 475.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.2968, allocations: 1.366 MB / 476.6 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.2972, allocations: 147.5 kB / 476.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.2973, allocations: 16 kB / 476.8 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.2978, allocations: 47.94 kB / 476.8 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.2979, allocations: 76.8 kB / 476.9 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.298, allocations: 20 kB / 476.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004115/0.2984, allocations: 330.9 kB / 477.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 477.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00109/0.2995, allocations: 319.3 kB / 477.6 MB, free: 6.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003199/0.3027, allocations: 1.981 MB / 479.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3048, allocations: 1.052 MB / 480.6 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3048, allocations: 0 / 480.6 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3061, allocations: 0.7091 MB / 481.3 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.3067, allocations: 126 kB / 481.4 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.3175, allocations: 6.527 MB / 488 MB, free: 11.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.318, allocations: 408.5 kB / 488.4 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.3183, allocations: 77.5 kB / 488.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.3188, allocations: 339.3 kB / 488.8 MB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3188, allocations: 0 / 488.8 MB, free: 11.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06091/0.3797, allocations: 20.16 MB / 0.497 GB, free: 7.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.71, allocations: 7.781 kB / 0.497 GB, free: 7.223 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable voltageQS.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable voltageQS.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! Error: Could not read variable iAC.mean1.y in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable iAC.mean1.y from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! Error: Could not read variable iAC.mean2.y in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable iAC.mean2.y from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! Error: Could not read variable iDC2.mean.y in file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv. Warning: Get data of variable iDC2.mean.y from file Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.668520465958863]