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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.402/1.402, allocations: 207.6 MB / 231.8 MB, free: 4 MB / 174.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 55.91 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09237, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006857/0.09923, allocations: 5.231 MB / 396.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.1078, allocations: 6.589 MB / 403.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.1084, allocations: 39.69 kB / 403.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1096, allocations: 0.5007 MB / 403.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.1114, allocations: 0.8186 MB / 404.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1125, allocations: 430.4 kB / 405 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.1153, allocations: 1.985 MB / 407 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.1155, allocations: 107 kB / 407.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.116, allocations: 366.3 kB / 407.4 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.1163, allocations: 345.7 kB / 407.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.1164, allocations: 28 kB / 407.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009735/0.1174, allocations: 467.6 kB / 408.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1175, allocations: 107.2 kB / 408.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.1179, allocations: 449 kB / 408.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.1194, allocations: 1.283 MB / 410.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1194, allocations: 0 / 410.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1194, allocations: 4 kB / 410.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.1194, allocations: 0 / 410.1 MB, free: 5.945 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.002049/0.1215, allocations: 1.482 MB / 411.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1215, allocations: 12.03 kB / 411.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.677e-05/0.1216, allocations: 62.47 kB / 411.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.1217, allocations: 139.2 kB / 411.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.1229, allocations: 0.8592 MB / 412.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1229, allocations: 16.44 kB / 412.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.123, allocations: 27.89 kB / 412.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.1235, allocations: 314.6 kB / 413 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1235, allocations: 0 / 413 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1235, allocations: 15.94 kB / 413 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1236, allocations: 11.98 kB / 413 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.1239, allocations: 217.8 kB / 413.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.1257, allocations: 1.126 MB / 414.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.1261, allocations: 214.5 kB / 414.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.1266, allocations: 252.7 kB / 414.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.1276, allocations: 0.7554 MB / 415.5 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1276, allocations: 42.5 kB / 415.6 MB, free: 68 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.734e-06/0.1276, allocations: 4 kB / 415.6 MB, free: 64 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002869/0.1305, allocations: 1.56 MB / 417.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1306, allocations: 110.8 kB / 417.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.1316, allocations: 0.9339 MB / 418.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.1316, allocations: 37.64 kB / 418.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.1319, allocations: 361.8 kB / 418.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.132, allocations: 134.7 kB / 418.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1322, allocations: 121.7 kB / 418.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1323, allocations: 318 kB / 419.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1326, allocations: 124.6 kB / 419.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.1328, allocations: 163.6 kB / 419.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.1342, allocations: 0.7332 MB / 420.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1342, allocations: 0 / 420.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009232/0.1352, allocations: 0.5585 MB / 420.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.1352, allocations: 41.61 kB / 420.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.1353, allocations: 15.98 kB / 420.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.1355, allocations: 73.66 kB / 420.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.1357, allocations: 47.91 kB / 420.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.1385, allocations: 3.331 MB / 424.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.1388, allocations: 12.03 kB / 424.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.1388, allocations: 19.98 kB / 424.3 MB, free: 6.898 MB / 350.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.0004055/0.1392, allocations: 263.9 kB / 424.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1394, allocations: 127.2 kB / 424.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.1406, allocations: 0.6687 MB / 425.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1407, allocations: 4 kB / 425.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1407, allocations: 7.938 kB / 425.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1407, allocations: 3.984 kB / 425.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.1414, allocations: 0.6121 MB / 425.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.1414, allocations: 12 kB / 425.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1416, allocations: 39.89 kB / 426 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.1418, allocations: 73.67 kB / 426.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.1418, allocations: 16 kB / 426.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.1445, allocations: 3.331 MB / 429.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1445, allocations: 0 / 429.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1458, allocations: 0.8517 MB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.1462, allocations: 276.2 kB / 430.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.1463, allocations: 11.94 kB / 430.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.1465, allocations: 12 kB / 430.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.1466, allocations: 44.09 kB / 430.6 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.1467, allocations: 12.12 kB / 430.6 MB, free: 140 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.1474, allocations: 0.6295 MB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1474, allocations: 0 / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007831/0.1482, allocations: 223.6 kB / 431.4 MB, free: 15.29 MB / 366.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.002094/0.1503, allocations: 1.616 MB / 433.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1514, allocations: 0.7375 MB / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1515, allocations: 0 / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.1521, allocations: 0.5943 MB / 434.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.1527, allocations: 100.8 kB / 434.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007727/0.1604, allocations: 5.774 MB / 440.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.161, allocations: 1 MB / 441.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.1613, allocations: 93.64 kB / 441.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.1616, allocations: 287.3 kB / 441.6 MB, free: 4.73 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1616, allocations: 0 / 441.6 MB, free: 4.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/0.2148, allocations: 17.32 MB / 459 MB, free: 3.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.76, allocations: 20.77 kB / 459 MB, free: 3.312 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.60074654314667]