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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008395/0.0008394, allocations: 86.66 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.51e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.0971, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4748, allocations: 86.28 MB / 456.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.475, allocations: 73.33 kB / 456.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09374/0.5688, allocations: 36.5 MB / 492.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5688, allocations: 4 kB / 492.9 MB, free: 3.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.591e-05/0.5689, allocations: 16 kB / 492.9 MB, free: 3.941 MB / 362.7 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.002673/0.5716, allocations: 1.178 MB / 494.1 MB, free: 2.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.5716, allocations: 8.031 kB / 494.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.572, allocations: 126.4 kB / 494.2 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.5732, allocations: 0.7189 MB / 494.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.5733, allocations: 16.44 kB / 494.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.5734, allocations: 24 kB / 495 MB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.5739, allocations: 306.6 kB / 495.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5739, allocations: 0 / 495.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.574, allocations: 4 kB / 495.3 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.574, allocations: 8 kB / 495.3 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.5743, allocations: 209.8 kB / 495.5 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.5763, allocations: 1.185 MB / 496.7 MB, free: 0 / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.5767, allocations: 222.6 kB / 496.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.5771, allocations: 292.7 kB / 497.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.5787, allocations: 1.285 MB / 498.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5788, allocations: 30.81 kB / 498.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.683e-06/0.5788, allocations: 0 / 498.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002317/0.5811, allocations: 1.258 MB / 499.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.5812, allocations: 118.7 kB / 499.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/0.5822, allocations: 0.7692 MB / 0.4889 GB, free: 11.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.5822, allocations: 29.7 kB / 0.4889 GB, free: 11.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.5825, allocations: 357.6 kB / 0.4893 GB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.5827, allocations: 134 kB / 0.4894 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.5827, allocations: 8 kB / 0.4894 GB, free: 11.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5828, allocations: 318 kB / 0.4897 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.583, allocations: 108.3 kB / 0.4898 GB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.5832, allocations: 142.9 kB / 0.4899 GB, free: 10.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5835, allocations: 149.7 kB / 0.4901 GB, free: 10.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5835, allocations: 0 / 0.4901 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008183/0.5843, allocations: 0.5036 MB / 0.4906 GB, free: 9.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.5844, allocations: 41.69 kB / 0.4906 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.5844, allocations: 15.98 kB / 0.4906 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.5847, allocations: 69.62 kB / 0.4907 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.5849, allocations: 43.95 kB / 0.4907 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.5877, allocations: 2.982 MB / 0.4936 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.588, allocations: 20.02 kB / 0.4937 GB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.5881, allocations: 16 kB / 0.4937 GB, free: 6.395 MB / 378.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.5883, allocations: 158.6 kB / 0.4938 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5884, allocations: 122.5 kB / 0.4939 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.5897, allocations: 0.653 MB / 0.4946 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5898, allocations: 4 kB / 0.4946 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5898, allocations: 4 kB / 0.4946 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5898, allocations: 0 / 0.4946 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.5905, allocations: 0.6082 MB / 0.4952 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.5906, allocations: 15.98 kB / 0.4952 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.5908, allocations: 27.98 kB / 0.4952 GB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.591, allocations: 81.56 kB / 0.4953 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.591, allocations: 19.98 kB / 0.4953 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.5932, allocations: 2.982 MB / 0.4982 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5932, allocations: 3.953 kB / 0.4982 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5944, allocations: 0.8047 MB / 0.499 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.5948, allocations: 291.6 kB / 0.4993 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.5949, allocations: 8 kB / 0.4993 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.5952, allocations: 15.98 kB / 0.4993 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5953, allocations: 31.95 kB / 0.4994 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.5954, allocations: 19.94 kB / 0.4994 GB, free: 160 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007756/0.5962, allocations: 0.6079 MB / 0.5 GB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5962, allocations: 0 / 0.5 GB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001005/0.5972, allocations: 259.7 kB / 0.5002 GB, free: 15.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006932/0.5979, allocations: 401.2 kB / 0.5006 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.5989, allocations: 0.7181 MB / 0.5013 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5989, allocations: 0 / 0.5013 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006063/0.5995, allocations: 0.6089 MB / 0.5019 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.5999, allocations: 89.53 kB / 0.502 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.6017, allocations: 1.089 MB / 0.503 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.6023, allocations: 1.019 MB / 0.504 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000266/0.6026, allocations: 68.58 kB / 0.5041 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.6027, allocations: 39.42 kB / 0.5041 GB, free: 11.08 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6027, allocations: 0 / 0.5041 GB, free: 11.08 MB / 394.7 MB Notification: Performance of Templates: time 0.01748/0.6202, allocations: 9.465 MB / 0.5134 GB, free: 1.602 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches