Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 48.31 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3036, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005305/0.3089, allocations: 4.235 MB / 400.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3113, allocations: 0.9611 MB / 401.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005644/0.3119, allocations: 12.56 kB / 401.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.3122, allocations: 99.38 kB / 401.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000692/0.3129, allocations: 199.9 kB / 401.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3134, allocations: 159.1 kB / 402 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.3144, allocations: 0.7326 MB / 402.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.3147, allocations: 156.8 kB / 402.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.3153, allocations: 293.2 kB / 403.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.3158, allocations: 336.7 kB / 403.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3159, allocations: 61.75 kB / 403.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.316, allocations: 60.38 kB / 403.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.3162, allocations: 147.3 kB / 403.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.3165, allocations: 335.1 kB / 404.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.3174, allocations: 0.7116 MB / 404.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3174, allocations: 1.094 kB / 404.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3174, allocations: 0 / 404.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.3174, allocations: 0 / 404.8 MB, free: 3.629 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001555/0.3189, allocations: 0.861 MB / 405.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.319, allocations: 13.48 kB / 405.7 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.3191, allocations: 102.9 kB / 405.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.3193, allocations: 75.34 kB / 405.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.3199, allocations: 334.4 kB / 406.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.3199, allocations: 38.88 kB / 406.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.32, allocations: 64.64 kB / 406.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.3209, allocations: 0.5702 MB / 406.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.3209, allocations: 3.938 kB / 406.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.321, allocations: 25.38 kB / 406.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.321, allocations: 17.5 kB / 406.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.3218, allocations: 470.9 kB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.3246, allocations: 2.026 MB / 409.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.3254, allocations: 0.5194 MB / 409.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.3259, allocations: 358.4 kB / 410.3 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.326, allocations: 10.69 kB / 410.3 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.326, allocations: 38.84 kB / 410.3 MB, free: 348 kB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.326, allocations: 0 / 410.3 MB, free: 348 kB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004488/0.3305, allocations: 1.721 MB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3305, allocations: 57.66 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.331, allocations: 364 kB / 412.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.331, allocations: 35.23 kB / 412.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.3312, allocations: 255.1 kB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.3314, allocations: 213.5 kB / 412.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3315, allocations: 90.61 kB / 413 MB, free: 14.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3317, allocations: 361.4 kB / 413.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3321, allocations: 168 kB / 413.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.3324, allocations: 211.2 kB / 413.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.3331, allocations: 382.9 kB / 414.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3331, allocations: 3.938 kB / 414.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001467/0.3346, allocations: 0.6573 MB / 414.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3346, allocations: 5.531 kB / 414.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3346, allocations: 0 / 414.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007682/0.3354, allocations: 256.3 kB / 415 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.3357, allocations: 62.77 kB / 415.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.3436, allocations: 7.092 MB / 422.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.3442, allocations: 14.22 kB / 422.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.3442, allocations: 20.2 kB / 422.2 MB, free: 6.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003969/0.3446, allocations: 175.1 kB / 422.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3447, allocations: 56.11 kB / 422.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.3449, allocations: 61.67 kB / 422.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3449, allocations: 10.58 kB / 422.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.3449, allocations: 1.125 kB / 422.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3449, allocations: 1.062 kB / 422.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.3477, allocations: 1.312 MB / 423.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3477, allocations: 0 / 423.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.348, allocations: 58.69 kB / 423.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008353/0.3489, allocations: 262.9 kB / 424.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.3489, allocations: 14.92 kB / 424.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008481/0.3574, allocations: 7.091 MB / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3574, allocations: 0 / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.3595, allocations: 1.02 MB / 432.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.3598, allocations: 87.59 kB / 432.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.3599, allocations: 8 kB / 432.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.3602, allocations: 19.98 kB / 432.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.3604, allocations: 56.39 kB / 432.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.3604, allocations: 19.94 kB / 432.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003367/0.3607, allocations: 255.2 kB / 432.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3607, allocations: 0 / 432.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009822/0.3617, allocations: 183.9 kB / 432.9 MB, free: 13.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002267/0.364, allocations: 1.576 MB / 434.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.3658, allocations: 1.009 MB / 435.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3658, allocations: 0 / 435.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3671, allocations: 0.8254 MB / 436.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.3677, allocations: 82.42 kB / 436.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/0.376, allocations: 5.071 MB / 441.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.3766, allocations: 0.8792 MB / 442.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.3768, allocations: 56.53 kB / 442.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3771, allocations: 171.4 kB / 442.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3771, allocations: 0 / 442.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.44, allocations: 14.39 MB / 457 MB, free: 5.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.76, allocations: 12.83 kB / 457 MB, free: 5.035 MB / 366.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Capacitor1.v in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.8326768429979]