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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 115.5 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 46.64 kB / 302.1 MB, free: 5.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09116, allocations: 49.45 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00606/0.09725, allocations: 5.185 MB / 356.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008482/0.1058, allocations: 6.623 MB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.1067, allocations: 39.69 kB / 363.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1081, allocations: 0.5006 MB / 363.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.1107, allocations: 0.8186 MB / 364.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.112, allocations: 438.4 kB / 365.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.115, allocations: 1.993 MB / 367.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.1153, allocations: 163 kB / 367.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1157, allocations: 354.2 kB / 367.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1161, allocations: 345.6 kB / 367.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.1162, allocations: 35.94 kB / 368 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1172, allocations: 491.5 kB / 368.5 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1173, allocations: 111.2 kB / 368.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.1177, allocations: 453 kB / 369 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.1189, allocations: 1.265 MB / 370.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.119, allocations: 8 kB / 370.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.119, allocations: 0 / 370.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.119, allocations: 0 / 370.3 MB, free: 0.8516 MB / 302.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.1479/0.2669, allocations: 1.43 MB / 371.7 MB, free: 26.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2669, allocations: 14.39 kB / 371.7 MB, free: 26.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/0.2673, allocations: 130 kB / 371.8 MB, free: 26.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.2687, allocations: 0.8481 MB / 372.7 MB, free: 25.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2687, allocations: 17.62 kB / 372.7 MB, free: 25.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.2688, allocations: 23.69 kB / 372.7 MB, free: 25.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.2694, allocations: 302.7 kB / 373 MB, free: 25.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2694, allocations: 0.7031 kB / 373 MB, free: 25.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.2694, allocations: 15.64 kB / 373 MB, free: 25.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2695, allocations: 8.344 kB / 373.1 MB, free: 25.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.2699, allocations: 224.3 kB / 373.3 MB, free: 25.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2718, allocations: 1.123 MB / 374.4 MB, free: 24.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2722, allocations: 247.8 kB / 374.6 MB, free: 24.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.2727, allocations: 294.8 kB / 374.9 MB, free: 24.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007896/0.2735, allocations: 0.7558 MB / 375.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.2735, allocations: 41.73 kB / 375.7 MB, free: 23.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/0.2735, allocations: 1.719 kB / 375.7 MB, free: 23.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002616/0.2762, allocations: 1.542 MB / 377.3 MB, free: 22.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.2762, allocations: 111.1 kB / 377.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2772, allocations: 0.937 MB / 378.3 MB, free: 22.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2773, allocations: 31.02 kB / 378.3 MB, free: 22.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2775, allocations: 357.9 kB / 378.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.2776, allocations: 132 kB / 378.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.2777, allocations: 119.9 kB / 378.9 MB, free: 21.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.2778, allocations: 323.8 kB / 379.3 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.278, allocations: 122.6 kB / 379.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.2782, allocations: 154 kB / 379.5 MB, free: 21.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.2795, allocations: 0.7353 MB / 380.3 MB, free: 21.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2795, allocations: 0 / 380.3 MB, free: 21.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008312/0.2803, allocations: 0.5529 MB / 380.8 MB, free: 20.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.2804, allocations: 39.91 kB / 380.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/0.2804, allocations: 21.22 kB / 380.9 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.2806, allocations: 71.78 kB / 380.9 MB, free: 20.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2809, allocations: 40.41 kB / 381 MB, free: 20.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.2826, allocations: 3.331 MB / 384.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.283, allocations: 11.97 kB / 384.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.283, allocations: 20.86 kB / 384.3 MB, free: 17.58 MB / 302.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.0003169/0.2834, allocations: 267.8 kB / 384.6 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2835, allocations: 116.9 kB / 384.7 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2846, allocations: 0.6729 MB / 385.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2847, allocations: 3.594 kB / 385.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2847, allocations: 2.969 kB / 385.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2847, allocations: 4.016 kB / 385.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.2854, allocations: 0.6164 MB / 386 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/0.2854, allocations: 15.83 kB / 386 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.2856, allocations: 34.89 kB / 386.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.2858, allocations: 72.22 kB / 386.1 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2858, allocations: 14.5 kB / 386.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.2875, allocations: 3.33 MB / 389.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2875, allocations: 1.781 kB / 389.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2887, allocations: 0.8591 MB / 390.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.2891, allocations: 271.2 kB / 390.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.2892, allocations: 12.48 kB / 390.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.2895, allocations: 11.06 kB / 390.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.2896, allocations: 30.09 kB / 390.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.2897, allocations: 19.55 kB / 390.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007552/0.2904, allocations: 0.6281 MB / 391.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2904, allocations: 9.281 kB / 391.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007658/0.2912, allocations: 224.3 kB / 391.5 MB, free: 12.38 MB / 302.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.0004774/0.2917, allocations: 312.8 kB / 391.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009449/0.2926, allocations: 0.7756 MB / 392.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2927, allocations: 0 / 392.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.2932, allocations: 0.6142 MB / 393.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.2938, allocations: 110.8 kB / 393.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2956, allocations: 1.571 MB / 394.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.296, allocations: 0.9992 MB / 395.9 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.2963, allocations: 95.73 kB / 396 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.2964, allocations: 49.62 kB / 396.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2964, allocations: 0 / 396.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Templates: time 0.06265/0.359, allocations: 8.633 MB / 404.7 MB, free: 3.738 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (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 cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) 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) Reference file matches