Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00173/0.00173, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002071/0.002071, allocations: 219.7 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 47.91 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2581, allocations: 53.35 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006054/0.2642, allocations: 3.853 MB / 435 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2663, allocations: 0.9814 MB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.267, allocations: 11.94 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.2674, allocations: 99 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008791/0.2683, allocations: 202.3 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.2689, allocations: 191.7 kB / 436.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.2703, allocations: 0.7322 MB / 437.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.2707, allocations: 155.6 kB / 437.3 MB, free: 420 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.2713, allocations: 294.9 kB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.2719, allocations: 294.4 kB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.272, allocations: 64 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.2722, allocations: 64 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.2724, allocations: 147.4 kB / 438.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.2728, allocations: 274.7 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009874/0.2738, allocations: 0.7313 MB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2738, allocations: 0 / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2738, allocations: 4 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.928e-05/0.2738, allocations: 0 / 439.2 MB, free: 14.55 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002033/0.2759, allocations: 0.8593 MB / 440 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2759, allocations: 8.031 kB / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/0.2761, allocations: 104 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.2765, allocations: 100.4 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007007/0.2772, allocations: 352.3 kB / 440.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2772, allocations: 41.62 kB / 440.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.2773, allocations: 52.38 kB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.2784, allocations: 0.5693 MB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2784, allocations: 7.938 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.2785, allocations: 20 kB / 441.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2785, allocations: 12 kB / 441.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.2794, allocations: 464.9 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.2826, allocations: 1.915 MB / 443.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.2836, allocations: 0.5073 MB / 444.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.2842, allocations: 366 kB / 444.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2842, allocations: 4.5 kB / 444.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.2843, allocations: 43.05 kB / 444.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.945e-06/0.2843, allocations: 0 / 444.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004357/0.2886, allocations: 1.728 MB / 446.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.2887, allocations: 59.91 kB / 446.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.2891, allocations: 365.7 kB / 446.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.2891, allocations: 37.7 kB / 446.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.2893, allocations: 249.3 kB / 447 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.2895, allocations: 218.2 kB / 447.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.2897, allocations: 94.28 kB / 447.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.2899, allocations: 362.7 kB / 447.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.2902, allocations: 165.2 kB / 447.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.2906, allocations: 212.8 kB / 448 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.2914, allocations: 378.1 kB / 448.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2914, allocations: 4 kB / 448.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001303/0.2927, allocations: 0.6563 MB / 449 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2928, allocations: 8 kB / 449 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2928, allocations: 4.031 kB / 449 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.2935, allocations: 263.1 kB / 449.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2938, allocations: 55.95 kB / 449.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.3011, allocations: 7.041 MB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.3015, allocations: 24.02 kB / 456.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3015, allocations: 12.12 kB / 456.4 MB, free: 12.49 MB / 366.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.0002711/0.3018, allocations: 183.3 kB / 456.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.3018, allocations: 55.61 kB / 456.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.302, allocations: 69.03 kB / 456.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.302, allocations: 4 kB / 456.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.302, allocations: 7.938 kB / 456.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.302, allocations: 4.453 kB / 456.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.3042, allocations: 1.245 MB / 458 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3042, allocations: 0 / 458 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.3045, allocations: 55.91 kB / 458.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006575/0.3051, allocations: 259.1 kB / 458.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.3051, allocations: 15.98 kB / 458.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007084/0.3122, allocations: 7.05 MB / 465.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3122, allocations: 0 / 465.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3141, allocations: 1.013 MB / 466.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.3143, allocations: 83.66 kB / 466.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.3143, allocations: 15.98 kB / 466.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.3146, allocations: 16 kB / 466.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3147, allocations: 52.39 kB / 466.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.3147, allocations: 19.92 kB / 466.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.315, allocations: 263.2 kB / 466.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.315, allocations: 480 / 466.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008659/0.3159, allocations: 176 kB / 467 MB, free: 1.371 MB / 366.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.002155/0.3181, allocations: 1.588 MB / 468.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3197, allocations: 1.013 MB / 469.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3197, allocations: 0 / 469.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.3209, allocations: 0.8214 MB / 470.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3214, allocations: 97.39 kB / 470.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.3291, allocations: 5.084 MB / 475.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3294, allocations: 284.3 kB / 475.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.3297, allocations: 56.53 kB / 475.9 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.3299, allocations: 171.4 kB / 476.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3299, allocations: 0 / 476.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0772/0.4071, allocations: 14.44 MB / 490.5 MB, free: 9.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.42, allocations: 4 kB / 490.5 MB, free: 9.793 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor1.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Capacitor2.v in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Capacitor2.v from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor2.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor2.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! Error: Could not read variable Inductor3.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv. Warning: Get data of variable Inductor3.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.478094968013465]