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.001729/0.001729, allocations: 83.88 kB / 22 MB, free: 5.18 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.002091/0.002091, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.354/1.354, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.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: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [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.001871/0.001871, allocations: 51.92 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2065, allocations: 49.15 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006023/0.2125, allocations: 4.561 MB / 353.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.2208, allocations: 5.776 MB / 358.8 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.2215, allocations: 59.38 kB / 358.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.2228, allocations: 467.3 kB / 359.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.2252, allocations: 0.8186 MB / 360.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2265, allocations: 434.4 kB / 360.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.23, allocations: 2.001 MB / 362.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.2302, allocations: 99.23 kB / 362.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.2308, allocations: 378.3 kB / 363.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.2313, allocations: 321.7 kB / 363.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.2313, allocations: 28 kB / 363.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.2325, allocations: 451.6 kB / 363.8 MB, free: 100 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2326, allocations: 115.3 kB / 364 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.233, allocations: 321.8 kB / 364.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.2348, allocations: 1.287 MB / 365.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2348, allocations: 4 kB / 365.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2348, allocations: 0 / 365.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2348, allocations: 3.938 kB / 365.6 MB, free: 14.37 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.002071/0.2369, allocations: 1.415 MB / 367 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2369, allocations: 15.97 kB / 367 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.2371, allocations: 135.1 kB / 367.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.2383, allocations: 0.7717 MB / 367.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2383, allocations: 16.5 kB / 367.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.2384, allocations: 23.95 kB / 367.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.239, allocations: 367.2 kB / 368.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.239, allocations: 0 / 368.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.239, allocations: 15.94 kB / 368.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.239, allocations: 4 kB / 368.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.2395, allocations: 263.7 kB / 368.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.2412, allocations: 0.9628 MB / 369.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.2417, allocations: 252.1 kB / 369.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.2422, allocations: 299 kB / 370.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.2429, allocations: 153.5 kB / 370.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.2429, allocations: 38.56 kB / 370.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.803e-06/0.2429, allocations: 0 / 370.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.00311/0.246, allocations: 1.5 MB / 371.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.2461, allocations: 110.8 kB / 371.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2472, allocations: 0.9301 MB / 372.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.2472, allocations: 37.7 kB / 372.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.2476, allocations: 357.7 kB / 373.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.2477, allocations: 134.8 kB / 373.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.2479, allocations: 113.8 kB / 373.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.248, allocations: 325.9 kB / 373.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.2483, allocations: 158.3 kB / 373.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2486, allocations: 223.2 kB / 374.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.2501, allocations: 0.7566 MB / 374.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2501, allocations: 0 / 374.9 MB, free: 4.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001036/0.2512, allocations: 0.5914 MB / 375.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.2512, allocations: 37.7 kB / 375.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.2512, allocations: 20.02 kB / 375.5 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.2514, allocations: 69.69 kB / 375.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.2517, allocations: 43.91 kB / 375.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.2544, allocations: 3.075 MB / 378.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.2547, allocations: 12.02 kB / 378.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.2547, allocations: 20 kB / 378.7 MB, free: 0.5703 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.0004109/0.2551, allocations: 260 kB / 379 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.2553, allocations: 131.1 kB / 379.1 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2567, allocations: 0.7015 MB / 379.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2567, allocations: 4 kB / 379.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2567, allocations: 4 kB / 379.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2567, allocations: 3.984 kB / 379.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.2574, allocations: 0.4968 MB / 380.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.2574, allocations: 16 kB / 380.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2576, allocations: 39.84 kB / 380.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.2578, allocations: 69.67 kB / 380.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.2578, allocations: 16 kB / 380.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.2605, allocations: 3.071 MB / 383.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2605, allocations: 0 / 383.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.262, allocations: 0.9449 MB / 384.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.2624, allocations: 208.9 kB / 384.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.2624, allocations: 8 kB / 384.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.2627, allocations: 15.98 kB / 384.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.2628, allocations: 27.95 kB / 384.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.2629, allocations: 16 kB / 384.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000786/0.2637, allocations: 0.6334 MB / 385.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2637, allocations: 0 / 385.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008162/0.2645, allocations: 223.6 kB / 385.6 MB, free: 9.375 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.0005313/0.265, allocations: 306.7 kB / 385.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.2662, allocations: 0.8239 MB / 386.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2662, allocations: 0 / 386.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.267, allocations: 0.6221 MB / 387.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.2675, allocations: 116.5 kB / 387.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.2699, allocations: 1.644 MB / 389.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.2703, allocations: 409 kB / 389.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.2705, allocations: 93.64 kB / 389.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.2706, allocations: 52.48 kB / 389.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2706, allocations: 0 / 389.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.01872/0.2893, allocations: 8.975 MB / 398.6 MB, free: 12.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.524414901970886]