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.001008/0.001008, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00458/0.00458, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.844/0.844, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.544e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1174/0.1175, allocations: 4.566 MB / 303 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.122, allocations: 5.773 MB / 308.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.1224, allocations: 64.34 kB / 308.8 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008462/0.1233, allocations: 466.6 kB / 309.3 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1246, allocations: 0.8512 MB / 310.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.1255, allocations: 444.5 kB / 310.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002378/0.1278, allocations: 2.037 MB / 312.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.128, allocations: 99.28 kB / 312.7 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.1286, allocations: 0.4918 MB / 313.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1288, allocations: 241.1 kB / 313.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.1289, allocations: 30.25 kB / 313.5 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.1296, allocations: 445.5 kB / 313.9 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.1297, allocations: 108.6 kB / 314 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.13, allocations: 240.6 kB / 314.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.1313, allocations: 1.289 MB / 315.5 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1313, allocations: 0 / 315.5 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1313, allocations: 0 / 315.5 MB, free: 7.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.1314, allocations: 0 / 315.5 MB, free: 7.098 MB / 282.7 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.001246/0.1326, allocations: 1.399 MB / 316.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1326, allocations: 13.86 kB / 316.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.1327, allocations: 66.56 kB / 317 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1328, allocations: 131.3 kB / 317.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.1336, allocations: 0.7665 MB / 317.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1336, allocations: 21.75 kB / 317.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.1336, allocations: 26.86 kB / 317.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.134, allocations: 368.8 kB / 318.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.134, allocations: 0.7969 kB / 318.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.134, allocations: 6.156 kB / 318.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.134, allocations: 5.719 kB / 318.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/0.1343, allocations: 266.1 kB / 318.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1354, allocations: 1.01 MB / 319.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1357, allocations: 255.7 kB / 319.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.136, allocations: 297.4 kB / 320.1 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/0.1365, allocations: 155.7 kB / 320.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1365, allocations: 39.78 kB / 320.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.463e-06/0.1365, allocations: 0 / 320.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001713/0.1382, allocations: 1.494 MB / 321.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1382, allocations: 113.6 kB / 321.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.1389, allocations: 0.9357 MB / 322.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1389, allocations: 35.98 kB / 322.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1391, allocations: 354 kB / 323.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.1391, allocations: 133.4 kB / 323.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1392, allocations: 119.2 kB / 323.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.88e-05/0.1393, allocations: 325.2 kB / 323.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1394, allocations: 153.7 kB / 324 MB, free: 1.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1396, allocations: 222.5 kB / 324.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.1403, allocations: 0.7436 MB / 324.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1403, allocations: 3.625 kB / 324.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005206/0.1409, allocations: 0.5934 MB / 325.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1409, allocations: 37.97 kB / 325.5 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.1409, allocations: 20.16 kB / 325.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.141, allocations: 69.88 kB / 325.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1412, allocations: 40.56 kB / 325.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.1427, allocations: 3.104 MB / 328.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1428, allocations: 10.19 kB / 328.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.143, allocations: 30.89 kB / 328.8 MB, free: 13.68 MB / 298.7 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.000494/0.1435, allocations: 262.4 kB / 329.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.1437, allocations: 129.8 kB / 329.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009851/0.1447, allocations: 0.7115 MB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1447, allocations: 3.344 kB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1447, allocations: 1.25 kB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1447, allocations: 1.031 kB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.1453, allocations: 0.5488 MB / 330.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.1453, allocations: 17.97 kB / 330.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1454, allocations: 33.38 kB / 330.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.1457, allocations: 71.39 kB / 330.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1457, allocations: 13.12 kB / 330.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.1475, allocations: 3.119 MB / 333.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1475, allocations: 3.938 kB / 333.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1486, allocations: 0.9432 MB / 334.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.149, allocations: 200.3 kB / 334.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.149, allocations: 8.125 kB / 334.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1492, allocations: 9.5 kB / 334.9 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.1493, allocations: 35.02 kB / 334.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.1493, allocations: 21.73 kB / 334.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006112/0.15, allocations: 0.6239 MB / 335.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.15, allocations: 0 / 335.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006861/0.1506, allocations: 222.6 kB / 335.8 MB, free: 8.203 MB / 298.7 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.001938/0.1526, allocations: 1.706 MB / 337.5 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000843/0.1534, allocations: 0.8229 MB / 338.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1534, allocations: 0 / 338.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.1539, allocations: 0.6311 MB / 338.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1543, allocations: 100.8 kB / 339 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/0.1608, allocations: 5.92 MB / 345 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1611, allocations: 417 kB / 345.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002319/0.1613, allocations: 89.64 kB / 345.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.1616, allocations: 288.4 kB / 345.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1616, allocations: 0 / 345.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.2012, allocations: 18.6 MB / 364.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.632, allocations: 11.91 kB / 364.3 MB, free: 11.25 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.340057075954974]