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.001326/0.001326, allocations: 187.1 kB / 18.04 MB, free: 3.648 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.538/1.538, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.0006871/0.0006872, allocations: 85.02 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1898, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08945/0.2793, allocations: 86.45 MB / 463.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.2796, allocations: 75.97 kB / 463.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09206/0.3717, allocations: 35.92 MB / 499.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3717, allocations: 0 / 499.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.3718, allocations: 16 kB / 499.5 MB, free: 5.996 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.002096/0.3739, allocations: 1.383 MB / 0.4891 GB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3739, allocations: 8.031 kB / 0.4891 GB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.3741, allocations: 134.4 kB / 0.4893 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3751, allocations: 0.7683 MB / 0.49 GB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3752, allocations: 20.44 kB / 0.49 GB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.3752, allocations: 24 kB / 0.4901 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.3758, allocations: 298.7 kB / 0.4903 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3759, allocations: 0 / 0.4903 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.3759, allocations: 19.94 kB / 0.4904 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3759, allocations: 11.92 kB / 0.4904 GB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.3763, allocations: 225.8 kB / 0.4906 GB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.378, allocations: 1.142 MB / 0.4917 GB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.3784, allocations: 242.5 kB / 0.4919 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.3789, allocations: 305.3 kB / 0.4922 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1445/0.5234, allocations: 1.278 MB / 0.4935 GB, free: 93.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5235, allocations: 35 kB / 0.4935 GB, free: 93.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.745e-06/0.5235, allocations: 0 / 0.4935 GB, free: 93.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003371/0.5269, allocations: 1.685 MB / 0.4951 GB, free: 92.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.5269, allocations: 111.5 kB / 0.4953 GB, free: 92.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/0.5279, allocations: 0.9176 MB / 0.4962 GB, free: 92.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.528, allocations: 30.11 kB / 0.4962 GB, free: 92.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.5282, allocations: 353.2 kB / 0.4965 GB, free: 92.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.5283, allocations: 136 kB / 0.4966 GB, free: 92.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.5283, allocations: 8.156 kB / 0.4967 GB, free: 92.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.5283, allocations: 326 kB / 0.497 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.5286, allocations: 118.8 kB / 0.4971 GB, free: 92.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.5288, allocations: 163.2 kB / 0.4972 GB, free: 92.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.5293, allocations: 362.8 kB / 0.4976 GB, free: 92.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5293, allocations: 0 / 0.4976 GB, free: 92.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000781/0.5301, allocations: 0.5314 MB / 0.4981 GB, free: 91.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.5301, allocations: 44.33 kB / 0.4981 GB, free: 91.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.5302, allocations: 12.19 kB / 0.4982 GB, free: 91.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.5304, allocations: 71.39 kB / 0.4982 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.5306, allocations: 45.16 kB / 0.4983 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.5323, allocations: 2.984 MB / 0.5012 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.5327, allocations: 15.81 kB / 0.5012 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.5327, allocations: 20.78 kB / 0.5012 GB, free: 89.17 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.0002773/0.533, allocations: 243.8 kB / 0.5014 GB, free: 89.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5332, allocations: 124.4 kB / 0.5016 GB, free: 88.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.5344, allocations: 0.6698 MB / 0.5022 GB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5344, allocations: 5.406 kB / 0.5022 GB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5344, allocations: 1.438 kB / 0.5022 GB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5344, allocations: 2.953 kB / 0.5022 GB, free: 88.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.5352, allocations: 0.6099 MB / 0.5028 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.5353, allocations: 17.44 kB / 0.5028 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.5354, allocations: 35.86 kB / 0.5029 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.5356, allocations: 75.58 kB / 0.5029 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.5357, allocations: 17.05 kB / 0.503 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.5375, allocations: 2.999 MB / 0.5059 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5375, allocations: 1.203 kB / 0.5059 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.5387, allocations: 0.8573 MB / 0.5067 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.5391, allocations: 268.8 kB / 0.507 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.5392, allocations: 7.469 kB / 0.507 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.5394, allocations: 13.91 kB / 0.507 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.5395, allocations: 40.58 kB / 0.507 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.5396, allocations: 16.19 kB / 0.5071 GB, free: 85.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006875/0.5403, allocations: 0.6199 MB / 0.5077 GB, free: 85.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5403, allocations: 0 / 0.5077 GB, free: 85.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009084/0.5412, allocations: 256.2 kB / 0.5079 GB, free: 85.46 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.0005326/0.5417, allocations: 397.1 kB / 0.5083 GB, free: 85.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008576/0.5426, allocations: 0.7642 MB / 0.509 GB, free: 84.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5426, allocations: 1.75 kB / 0.509 GB, free: 84.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.5431, allocations: 0.6205 MB / 0.5096 GB, free: 84.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.5437, allocations: 95.95 kB / 0.5097 GB, free: 84.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.5457, allocations: 1.861 MB / 0.5116 GB, free: 83.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.546, allocations: 0.9986 MB / 0.5125 GB, free: 82.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.5463, allocations: 67.58 kB / 0.5126 GB, free: 82.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.5464, allocations: 39.66 kB / 0.5126 GB, free: 82.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5464, allocations: 0 / 0.5126 GB, free: 82.92 MB / 378.7 MB Notification: Performance of Templates: time 0.01436/0.5607, allocations: 9.41 MB / 0.5218 GB, free: 82.17 MB / 378.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/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_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches