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) 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 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_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.001127/0.001132, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001062/0.001062, allocations: 193.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001138/0.001138, allocations: 51.94 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09097, allocations: 46.62 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.2094/0.3004, allocations: 5.201 MB / 381 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007782/0.3082, allocations: 6.568 MB / 387.6 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008598/0.3091, allocations: 44.44 kB / 387.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.3106, allocations: 0.4933 MB / 388.1 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.3135, allocations: 0.8109 MB / 388.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.3151, allocations: 430.6 kB / 389.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.3184, allocations: 1.983 MB / 391.3 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.3188, allocations: 174.3 kB / 391.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.3194, allocations: 363.1 kB / 391.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.3198, allocations: 343 kB / 392.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.3199, allocations: 29.78 kB / 392.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.3213, allocations: 469.5 kB / 392.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3214, allocations: 108.4 kB / 392.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.3217, allocations: 449.6 kB / 393.2 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.3234, allocations: 1.269 MB / 394.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3234, allocations: 4 kB / 394.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3234, allocations: 3.938 kB / 394.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3234, allocations: 0 / 394.5 MB, free: 3.77 MB / 318.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.001892/0.3253, allocations: 1.441 MB / 395.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3254, allocations: 9.25 kB / 395.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3256, allocations: 132.1 kB / 396.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.3266, allocations: 0.8513 MB / 396.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3266, allocations: 17.91 kB / 396.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.3267, allocations: 22.94 kB / 397 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.3273, allocations: 313.8 kB / 397.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3273, allocations: 0 / 397.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.3273, allocations: 15.19 kB / 397.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3273, allocations: 5.906 kB / 397.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.3277, allocations: 223.3 kB / 397.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3295, allocations: 1.118 MB / 398.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.3298, allocations: 240.9 kB / 398.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.3303, allocations: 292.7 kB / 399.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008728/0.3312, allocations: 0.7482 MB / 399.9 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3312, allocations: 41.94 kB / 399.9 MB, free: 152 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 1.843e-06/0.3312, allocations: 0 / 399.9 MB, free: 152 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.003025/0.3342, allocations: 1.551 MB / 401.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.3343, allocations: 118.2 kB / 401.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3355, allocations: 0.9314 MB / 402.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3355, allocations: 32.45 kB / 402.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3358, allocations: 353.7 kB / 402.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3359, allocations: 132.6 kB / 403 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.3361, allocations: 123.9 kB / 403.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3362, allocations: 320.6 kB / 403.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.3365, allocations: 122.3 kB / 403.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.3368, allocations: 164 kB / 403.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3381, allocations: 0.7398 MB / 404.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3381, allocations: 0 / 404.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009427/0.3391, allocations: 0.5523 MB / 405 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.3391, allocations: 44.45 kB / 405.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.32e-05/0.3392, allocations: 13.7 kB / 405.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.3394, allocations: 70.69 kB / 405.2 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3396, allocations: 48.42 kB / 405.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3421, allocations: 3.327 MB / 408.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.3425, allocations: 16.23 kB / 408.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.3426, allocations: 19.47 kB / 408.6 MB, free: 9.738 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.0004498/0.3431, allocations: 268.1 kB / 408.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3432, allocations: 120.8 kB / 409 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3445, allocations: 0.6627 MB / 409.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3445, allocations: 7.438 kB / 409.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3445, allocations: 2.312 kB / 409.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3445, allocations: 1.594 kB / 409.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009265/0.3455, allocations: 0.6192 MB / 410.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.3455, allocations: 19.3 kB / 410.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3457, allocations: 28.86 kB / 410.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.3459, allocations: 67.55 kB / 410.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.3459, allocations: 21.58 kB / 410.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.3482, allocations: 3.326 MB / 413.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3483, allocations: 0 / 413.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3496, allocations: 0.86 MB / 414.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.35, allocations: 273.4 kB / 414.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3502, allocations: 18.59 kB / 414.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.3504, allocations: 15.33 kB / 414.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.3505, allocations: 27.53 kB / 414.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.3506, allocations: 21.11 kB / 414.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007883/0.3514, allocations: 0.6242 MB / 415.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3514, allocations: 0 / 415.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009368/0.3523, allocations: 219.1 kB / 415.8 MB, free: 4.137 MB / 334.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.0005928/0.3529, allocations: 317.2 kB / 416.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.354, allocations: 0.7751 MB / 416.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.354, allocations: 4.062 kB / 416.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.3547, allocations: 0.6157 MB / 417.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.3553, allocations: 107.7 kB / 417.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3575, allocations: 1.603 MB / 419.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.358, allocations: 1.005 MB / 420.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3581, allocations: 51.58 kB / 420.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3581, allocations: 3.938 kB / 420.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of Templates: time 0.02086/0.379, allocations: 17.51 MB / 437.7 MB, free: 140 kB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) 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) Reference file matches