Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.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.001847/0.001847, allocations: 108.2 kB / 21.18 MB, free: 0.5547 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.002002/0.002002, allocations: 204.2 kB / 24.49 MB, free: 3.91 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.414/1.414, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",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.001699/0.001699, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.284, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00507/0.2891, allocations: 5.256 MB / 401.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007936/0.297, allocations: 6.615 MB / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.2986, allocations: 61.25 kB / 408.3 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.3004, allocations: 0.4937 MB / 408.8 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.3044, allocations: 0.8176 MB / 409.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.3063, allocations: 437.5 kB / 410 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004588/0.3109, allocations: 1.987 MB / 412 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.3112, allocations: 107.6 kB / 412.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.3121, allocations: 376.6 kB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.3127, allocations: 342.2 kB / 412.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.172e-05/0.3127, allocations: 30.47 kB / 412.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.3143, allocations: 472.3 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3145, allocations: 110.8 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.315, allocations: 446.3 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.3175, allocations: 1.281 MB / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3175, allocations: 0 / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3175, allocations: 1.062 kB / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3175, allocations: 0 / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002298/0.3198, allocations: 1.414 MB / 416.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3199, allocations: 13.45 kB / 416.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.796e-05/0.32, allocations: 70.28 kB / 416.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.3202, allocations: 131.7 kB / 416.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3214, allocations: 0.7756 MB / 417.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.3214, allocations: 16.31 kB / 417.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.3215, allocations: 25.95 kB / 417.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.3221, allocations: 305.8 kB / 417.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3221, allocations: 0 / 417.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.3221, allocations: 10.34 kB / 417.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3221, allocations: 9.25 kB / 417.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.3226, allocations: 230.1 kB / 418.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.3246, allocations: 1.06 MB / 419.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.325, allocations: 220.4 kB / 419.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.3255, allocations: 260.6 kB / 419.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.3264, allocations: 165.5 kB / 419.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3264, allocations: 33 kB / 419.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.815e-06/0.3264, allocations: 3.938 kB / 419.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003113/0.3295, allocations: 1.42 MB / 421.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.3296, allocations: 109.8 kB / 421.4 MB, free: 8.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3308, allocations: 0.9415 MB / 422.3 MB, free: 7.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.3308, allocations: 31.7 kB / 422.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.3311, allocations: 353.6 kB / 422.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.3313, allocations: 138.9 kB / 422.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3315, allocations: 117.5 kB / 422.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3316, allocations: 325.1 kB / 423.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3319, allocations: 125.2 kB / 423.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3321, allocations: 169.6 kB / 423.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.3336, allocations: 0.7315 MB / 424.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3336, allocations: 3.984 kB / 424.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001141/0.3347, allocations: 0.5608 MB / 424.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.3348, allocations: 41.59 kB / 424.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.3348, allocations: 15.28 kB / 424.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.3351, allocations: 70.05 kB / 424.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.3353, allocations: 48.97 kB / 425 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.3382, allocations: 3.12 MB / 428.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.3388, allocations: 15.98 kB / 428.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.3388, allocations: 16 kB / 428.1 MB, free: 2.875 MB / 334.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005173/0.3393, allocations: 259.9 kB / 428.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.3395, allocations: 127.2 kB / 428.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3409, allocations: 0.6764 MB / 429.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3409, allocations: 4 kB / 429.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3409, allocations: 0 / 429.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3409, allocations: 3.984 kB / 429.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.3419, allocations: 0.5877 MB / 429.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/0.3419, allocations: 16 kB / 429.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3421, allocations: 35.91 kB / 429.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.3423, allocations: 77.61 kB / 429.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.3423, allocations: 12 kB / 429.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.3453, allocations: 3.125 MB / 433.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3453, allocations: 0 / 433.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.3468, allocations: 0.8674 MB / 433.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.3474, allocations: 201 kB / 434.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3475, allocations: 15.92 kB / 434.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.3478, allocations: 12 kB / 434.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3479, allocations: 27.95 kB / 434.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.348, allocations: 19.98 kB / 434.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008828/0.3488, allocations: 0.6335 MB / 434.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3488, allocations: 3.938 kB / 434.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001014/0.3499, allocations: 223.6 kB / 435.1 MB, free: 11.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002654/0.3525, allocations: 1.605 MB / 436.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3539, allocations: 0.7505 MB / 437.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3539, allocations: 0 / 437.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007384/0.3546, allocations: 0.5891 MB / 438 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.3554, allocations: 109.6 kB / 438.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008974/0.3644, allocations: 5.766 MB / 443.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.365, allocations: 1 MB / 444.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.3653, allocations: 93.64 kB / 445 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.3656, allocations: 283.3 kB / 445.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3656, allocations: 0 / 445.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.4244, allocations: 17.62 MB / 462.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.22, allocations: 7.938 kB / 462.9 MB, free: 15.39 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable D3.n.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.857391117999214]