Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00112/0.00112, allocations: 181.6 kB / 17.41 MB, free: 4.289 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.284/1.284, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007184/0.0007184, allocations: 95.91 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2459, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0945/0.3404, allocations: 86.44 MB / 462.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.3408, allocations: 75.97 kB / 462.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0833/0.4241, allocations: 35.94 MB / 498.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4241, allocations: 0 / 498.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.4242, allocations: 16 kB / 498.2 MB, free: 6.062 MB / 378.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.001843/0.426, allocations: 1.383 MB / 499.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.426, allocations: 12.03 kB / 499.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.4262, allocations: 126.4 kB / 499.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.4271, allocations: 0.7724 MB / 0.4887 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4271, allocations: 16.44 kB / 0.4888 GB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.4271, allocations: 28 kB / 0.4888 GB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.4276, allocations: 302.6 kB / 0.4891 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4277, allocations: 3.938 kB / 0.4891 GB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4277, allocations: 8 kB / 0.4891 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.4277, allocations: 11.94 kB / 0.4891 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.4281, allocations: 225.8 kB / 0.4893 GB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.4297, allocations: 1.149 MB / 0.4904 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.4301, allocations: 230.5 kB / 0.4907 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.4306, allocations: 305.3 kB / 0.4909 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1562/0.5868, allocations: 1.274 MB / 0.4922 GB, free: 93.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5869, allocations: 37.33 kB / 0.4922 GB, free: 93.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.076e-06/0.5869, allocations: 0 / 0.4922 GB, free: 93.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003532/0.5904, allocations: 1.681 MB / 0.4939 GB, free: 92.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.5905, allocations: 116.2 kB / 0.494 GB, free: 92.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/0.5915, allocations: 0.9155 MB / 0.4949 GB, free: 92.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.5915, allocations: 30.45 kB / 0.4949 GB, free: 92.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.5917, allocations: 356.2 kB / 0.4952 GB, free: 92.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.5918, allocations: 138 kB / 0.4954 GB, free: 92.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.5918, allocations: 4.156 kB / 0.4954 GB, free: 92.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.5919, allocations: 324.2 kB / 0.4957 GB, free: 91.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.5921, allocations: 124.7 kB / 0.4958 GB, free: 91.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.5923, allocations: 160.1 kB / 0.496 GB, free: 91.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.5929, allocations: 362.3 kB / 0.4963 GB, free: 91.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5929, allocations: 1.188 kB / 0.4963 GB, free: 91.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007901/0.5937, allocations: 0.5336 MB / 0.4968 GB, free: 91.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5937, allocations: 41.34 kB / 0.4969 GB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.5938, allocations: 14.41 kB / 0.4969 GB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.594, allocations: 65.91 kB / 0.4969 GB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.5942, allocations: 44.36 kB / 0.497 GB, free: 91.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.5959, allocations: 2.989 MB / 0.4999 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.5962, allocations: 24.08 kB / 0.4999 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.5963, allocations: 17.31 kB / 0.4999 GB, free: 88.76 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 () * Number of clocked 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.0003307/0.5966, allocations: 249.6 kB / 0.5002 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5967, allocations: 123.9 kB / 0.5003 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.598, allocations: 0.6602 MB / 0.5009 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.598, allocations: 5.688 kB / 0.5009 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.598, allocations: 1.938 kB / 0.501 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.598, allocations: 3.281 kB / 0.501 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.5987, allocations: 0.6149 MB / 0.5016 GB, free: 88.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.5987, allocations: 14.38 kB / 0.5016 GB, free: 88.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.5989, allocations: 34.34 kB / 0.5016 GB, free: 88.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.599, allocations: 76.66 kB / 0.5017 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.5991, allocations: 13.84 kB / 0.5017 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.6006, allocations: 2.999 MB / 0.5046 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6006, allocations: 1.203 kB / 0.5046 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.6018, allocations: 0.8567 MB / 0.5055 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.6021, allocations: 271.6 kB / 0.5057 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.6022, allocations: 7.219 kB / 0.5057 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.6024, allocations: 14.25 kB / 0.5057 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.6025, allocations: 46.02 kB / 0.5058 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.6026, allocations: 13.75 kB / 0.5058 GB, free: 85.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000673/0.6032, allocations: 0.6172 MB / 0.5064 GB, free: 85.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6033, allocations: 3.844 kB / 0.5064 GB, free: 85.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008956/0.6042, allocations: 257.7 kB / 0.5066 GB, free: 85.05 MB / 378.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 () * 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 (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.0006218/0.6048, allocations: 387 kB / 0.507 GB, free: 84.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009043/0.6057, allocations: 0.7724 MB / 0.5078 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6057, allocations: 3.531 kB / 0.5078 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000508/0.6062, allocations: 0.6138 MB / 0.5084 GB, free: 84.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.6068, allocations: 92.22 kB / 0.5085 GB, free: 84.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.6087, allocations: 1.905 MB / 0.5103 GB, free: 83.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.6091, allocations: 1.002 MB / 0.5113 GB, free: 82.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.6092, allocations: 40.34 kB / 0.5113 GB, free: 82.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6092, allocations: 0 / 0.5113 GB, free: 82.48 MB / 378.7 MB Notification: Performance of Templates: time 0.07009/0.6793, allocations: 16.89 MB / 0.5278 GB, free: 79.67 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches