Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 181 kB / 17.01 MB, free: 5.125 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.365/1.365, allocations: 205.4 MB / 223.1 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.0008546/0.0008546, allocations: 96.08 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002448/0.0002449, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2366, allocations: 47.58 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.368, allocations: 89.78 MB / 465.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.3684, allocations: 79.95 kB / 465.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08009/0.4485, allocations: 33.97 MB / 499.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4485, allocations: 0 / 499.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.4486, allocations: 19.94 kB / 499.7 MB, free: 4.516 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002092/0.4507, allocations: 1.214 MB / 0.4891 GB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4507, allocations: 8.031 kB / 0.4891 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.4509, allocations: 110.7 kB / 0.4892 GB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.452, allocations: 0.7661 MB / 0.49 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4521, allocations: 16.56 kB / 0.49 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.4521, allocations: 28 kB / 0.49 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.4527, allocations: 307.7 kB / 0.4903 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4527, allocations: 0 / 0.4903 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.4527, allocations: 12 kB / 0.4903 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4527, allocations: 4 kB / 0.4903 GB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.4532, allocations: 242.1 kB / 0.4906 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4549, allocations: 1.207 MB / 0.4918 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4553, allocations: 202.6 kB / 0.4919 GB, free: 220 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2018/0.6571, allocations: 10.69 MB / 0.5024 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.6572, allocations: 35.64 kB / 0.5024 GB, free: 85.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.695e-06/0.6572, allocations: 0 / 0.5024 GB, free: 85.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001467/0.6587, allocations: 0.6448 MB / 0.5031 GB, free: 85.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.6587, allocations: 83.5 kB / 0.5031 GB, free: 84.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.6597, allocations: 0.6778 MB / 0.5038 GB, free: 84.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.6597, allocations: 28.73 kB / 0.5038 GB, free: 84.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.66, allocations: 440.1 kB / 0.5042 GB, free: 84.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.6601, allocations: 85.84 kB / 0.5043 GB, free: 84.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.6601, allocations: 0 / 0.5043 GB, free: 84.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.6601, allocations: 319.3 kB / 0.5046 GB, free: 84.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.6603, allocations: 65.78 kB / 0.5047 GB, free: 84.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.6605, allocations: 153.2 kB / 0.5048 GB, free: 84.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.6606, allocations: 88.97 kB / 0.5049 GB, free: 84.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6606, allocations: 0 / 0.5049 GB, free: 84.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005678/0.6612, allocations: 416 kB / 0.5053 GB, free: 84.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6612, allocations: 10.11 kB / 0.5053 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.6613, allocations: 13.47 kB / 0.5053 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/0.6616, allocations: 139.1 kB / 0.5055 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.6618, allocations: 36.91 kB / 0.5055 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/0.6623, allocations: 0.7104 MB / 0.5062 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.6626, allocations: 29.62 kB / 0.5062 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.6627, allocations: 12.84 kB / 0.5062 GB, free: 83.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.6629, allocations: 197.3 kB / 0.5064 GB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.663, allocations: 102.5 kB / 0.5065 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/0.6639, allocations: 441.6 kB / 0.5069 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6639, allocations: 5.875 kB / 0.507 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6639, allocations: 4.344 kB / 0.507 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6639, allocations: 1.312 kB / 0.507 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.6645, allocations: 0.5073 MB / 0.5075 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.6645, allocations: 11.47 kB / 0.5075 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6646, allocations: 18.11 kB / 0.5075 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.6649, allocations: 141.1 kB / 0.5076 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.6649, allocations: 8.031 kB / 0.5076 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004885/0.6654, allocations: 0.7094 MB / 0.5083 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6654, allocations: 0 / 0.5083 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.666, allocations: 463.8 kB / 0.5088 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.6662, allocations: 178.5 kB / 0.5089 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.6663, allocations: 5.719 kB / 0.5089 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.6665, allocations: 7.312 kB / 0.5089 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.6666, allocations: 22.25 kB / 0.509 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.6666, allocations: 8.219 kB / 0.509 GB, free: 82.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006203/0.6673, allocations: 0.5405 MB / 0.5095 GB, free: 82.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6673, allocations: 0 / 0.5095 GB, free: 82.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006577/0.6679, allocations: 213.6 kB / 0.5097 GB, free: 82.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.6684, allocations: 329.9 kB / 0.51 GB, free: 82.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005056/0.6689, allocations: 293.3 kB / 0.5103 GB, free: 82.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.669, allocations: 0 / 0.5103 GB, free: 82.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.6692, allocations: 180.3 kB / 0.5105 GB, free: 81.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.6696, allocations: 127.8 kB / 0.5106 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.6712, allocations: 1.398 MB / 0.512 GB, free: 81.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.6715, allocations: 0.9561 MB / 0.5129 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.6718, allocations: 97.17 kB / 0.513 GB, free: 80.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.6719, allocations: 45.28 kB / 0.513 GB, free: 80.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6719, allocations: 0 / 0.513 GB, free: 80.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01328/0.6852, allocations: 8.644 MB / 0.5215 GB, free: 79.93 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches