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.001703/0.001703, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.002515/0.002515, allocations: 212.5 kB / 23.74 MB, free: 4.695 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.555/1.555, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.00191/0.00191, allocations: 63.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 53.42 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008423/0.312, allocations: 6.349 MB / 437.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.3165, allocations: 2.255 MB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005246/0.3171, allocations: 23.88 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.319, allocations: 0.765 MB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.3205, allocations: 0.6095 MB / 441.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3216, allocations: 0.5337 MB / 441.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.3231, allocations: 1.203 MB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3242, allocations: 0.7768 MB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.3249, allocations: 478.2 kB / 444.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007262/0.3256, allocations: 0.5445 MB / 444.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.3258, allocations: 112 kB / 444.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.3264, allocations: 291.8 kB / 445.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.3266, allocations: 247.1 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.3272, allocations: 0.5442 MB / 445.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.3291, allocations: 1.49 MB / 447.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3291, allocations: 0 / 447.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3291, allocations: 4 kB / 447.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.83e-05/0.3292, allocations: 0 / 447.4 MB, free: 6.406 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.003721/0.3329, allocations: 1.674 MB / 449.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3329, allocations: 8.031 kB / 449.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.3332, allocations: 158.3 kB / 449.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.3356, allocations: 399.9 kB / 449.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3367, allocations: 0.5172 MB / 450.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.3368, allocations: 78.36 kB / 450.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.337, allocations: 104.3 kB / 450.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.3388, allocations: 1.02 MB / 451.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.3389, allocations: 8 kB / 451.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.339, allocations: 43.98 kB / 451.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.339, allocations: 24 kB / 451.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.3407, allocations: 0.855 MB / 452.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.3462, allocations: 3.365 MB / 455.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.3482, allocations: 0.8592 MB / 456.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009056/0.3491, allocations: 403.5 kB / 456.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3492, allocations: 28.62 kB / 456.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3502, allocations: 496.8 kB / 457.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.736e-06/0.3502, allocations: 0 / 457.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004847/0.3551, allocations: 1.481 MB / 458.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.3552, allocations: 196.9 kB / 459.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007101/0.3559, allocations: 482.2 kB / 459.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.356, allocations: 45.64 kB / 459.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.3564, allocations: 440.6 kB / 460 MB, free: 9.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.3566, allocations: 281.6 kB / 460.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.3569, allocations: 162.6 kB / 460.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3571, allocations: 378.7 kB / 460.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.3577, allocations: 265.9 kB / 461.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.3586, allocations: 491.2 kB / 461.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.36, allocations: 0.7396 MB / 462.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.36, allocations: 4 kB / 462.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002206/0.3622, allocations: 1.018 MB / 463.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.3623, allocations: 8 kB / 463.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3623, allocations: 4 kB / 463.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/0.3632, allocations: 268.9 kB / 463.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.3638, allocations: 143.7 kB / 463.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006338/0.3702, allocations: 4.654 MB / 468.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.371, allocations: 99.44 kB / 468.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.371, allocations: 39.98 kB / 468.5 MB, free: 0.5 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.0005103/0.3715, allocations: 246.6 kB / 468.8 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.3717, allocations: 71.58 kB / 468.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.3738, allocations: 0.9593 MB / 469.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3739, allocations: 8 kB / 469.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.3739, allocations: 8.062 kB / 469.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.3739, allocations: 7.969 kB / 469.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.3774, allocations: 1.877 MB / 471.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3774, allocations: 4.031 kB / 471.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.3779, allocations: 99.81 kB / 471.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007802/0.3786, allocations: 249.5 kB / 472 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.3787, allocations: 23.94 kB / 472.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005732/0.3844, allocations: 4.601 MB / 476.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3844, allocations: 0 / 476.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.3872, allocations: 1.377 MB / 478 MB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/0.3876, allocations: 143.3 kB / 478.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.3877, allocations: 16 kB / 478.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.3881, allocations: 43.97 kB / 478.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.3883, allocations: 72.86 kB / 478.3 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.3884, allocations: 27.98 kB / 478.3 MB, free: 6.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004311/0.3888, allocations: 326.9 kB / 478.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3888, allocations: 0 / 478.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001157/0.39, allocations: 311.5 kB / 479 MB, free: 5.719 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.003252/0.3932, allocations: 1.989 MB / 481 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.3955, allocations: 1.053 MB / 482 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3955, allocations: 0 / 482 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.3967, allocations: 0.7081 MB / 482.7 MB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.3975, allocations: 126.5 kB / 482.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.4086, allocations: 6.527 MB / 489.4 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/0.4094, allocations: 1.002 MB / 490.4 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.4098, allocations: 89.47 kB / 490.5 MB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.4103, allocations: 331.3 kB / 490.8 MB, free: 9.527 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4103, allocations: 0 / 490.8 MB, free: 9.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06233/0.4726, allocations: 20.4 MB / 0.4992 GB, free: 5.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/16.45, allocations: 7.938 kB / 0.4992 GB, free: 5.32 MB / 414.1 MB " [Timeout remaining time 643] (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: 19.52828008999859]