Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001302/0.001302, allocations: 69.64 kB / 21.24 MB, free: 0.5547 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.001267/0.001267, allocations: 150.6 kB / 24.49 MB, free: 3.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 46.39 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08148/0.08303, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006034/0.08906, allocations: 4.558 MB / 376.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008373/0.09744, allocations: 5.83 MB / 381.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.09785, allocations: 59.38 kB / 382 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.09899, allocations: 468.9 kB / 382.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.1009, allocations: 0.8303 MB / 383.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.102, allocations: 438.4 kB / 383.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.105, allocations: 2.005 MB / 385.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.1052, allocations: 103.2 kB / 385.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.1057, allocations: 386.2 kB / 386.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.1061, allocations: 329.7 kB / 386.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.1062, allocations: 28 kB / 386.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000856/0.1071, allocations: 451.6 kB / 387 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1072, allocations: 115.2 kB / 387.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.1075, allocations: 321.8 kB / 387.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.109, allocations: 1.295 MB / 388.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.109, allocations: 7.938 kB / 388.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.109, allocations: 0 / 388.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.109, allocations: 0 / 388.7 MB, free: 6.109 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001991/0.111, allocations: 1.411 MB / 390.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1111, allocations: 12.92 kB / 390.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1112, allocations: 135.1 kB / 390.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.1124, allocations: 0.7678 MB / 391 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1124, allocations: 24.5 kB / 391.1 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.1125, allocations: 23.98 kB / 391.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.1131, allocations: 371.2 kB / 391.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1131, allocations: 0 / 391.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1131, allocations: 4 kB / 391.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1131, allocations: 12 kB / 391.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.1136, allocations: 263.7 kB / 391.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1152, allocations: 0.955 MB / 392.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.1157, allocations: 252.2 kB / 392.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.1162, allocations: 300.9 kB / 393.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/0.1169, allocations: 165.5 kB / 393.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1169, allocations: 34.56 kB / 393.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.753e-06/0.1169, allocations: 4 kB / 393.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002985/0.1199, allocations: 1.503 MB / 394.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.12, allocations: 110.8 kB / 395 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.121, allocations: 0.9378 MB / 396 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.1211, allocations: 29.7 kB / 396 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.1214, allocations: 357.7 kB / 396.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.1215, allocations: 138.8 kB / 396.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.1217, allocations: 117.7 kB / 396.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1218, allocations: 325.9 kB / 396.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.1221, allocations: 158.3 kB / 397.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.1224, allocations: 231.8 kB / 397.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1239, allocations: 0.7452 MB / 398 MB, free: 12.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1239, allocations: 0 / 398 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001019/0.1249, allocations: 0.5993 MB / 398.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.125, allocations: 33.7 kB / 398.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.125, allocations: 19.98 kB / 398.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.1252, allocations: 69.62 kB / 398.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.1254, allocations: 39.97 kB / 398.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.1281, allocations: 3.067 MB / 401.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.1284, allocations: 16.02 kB / 401.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.1284, allocations: 20 kB / 401.9 MB, free: 8.32 MB / 366.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.000356/0.1288, allocations: 260.1 kB / 402.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.129, allocations: 131.2 kB / 402.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.1303, allocations: 0.7055 MB / 403 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1303, allocations: 7.938 kB / 403 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1303, allocations: 0 / 403 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1303, allocations: 3.984 kB / 403 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.131, allocations: 0.5007 MB / 403.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.131, allocations: 12 kB / 403.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.1312, allocations: 31.97 kB / 403.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.1314, allocations: 69.67 kB / 403.6 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.1314, allocations: 16 kB / 403.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.134, allocations: 3.075 MB / 406.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1341, allocations: 7.922 kB / 406.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1355, allocations: 0.9447 MB / 407.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.1359, allocations: 209 kB / 407.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.136, allocations: 4 kB / 407.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.1362, allocations: 12 kB / 407.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.1363, allocations: 31.94 kB / 407.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.1364, allocations: 20 kB / 407.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007551/0.1371, allocations: 0.6257 MB / 408.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1371, allocations: 4 kB / 408.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007521/0.1379, allocations: 227.5 kB / 408.8 MB, free: 1.117 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.0005081/0.1384, allocations: 306.7 kB / 409.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.1396, allocations: 0.8112 MB / 409.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1396, allocations: 0 / 409.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.1403, allocations: 0.6182 MB / 410.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.1409, allocations: 128.7 kB / 410.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.1432, allocations: 1.636 MB / 412.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1436, allocations: 421 kB / 412.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.1438, allocations: 97.58 kB / 412.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.1439, allocations: 48.5 kB / 412.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1439, allocations: 0 / 412.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of Templates: time 0.01742/0.1614, allocations: 8.97 MB / 421.8 MB, free: 3.941 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.422796914004721]