Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001473/0.001473, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.35/1.35, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007306/0.0007306, allocations: 85.42 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 8 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2777, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4071, allocations: 89.91 MB / 465.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4074, allocations: 75.97 kB / 465.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07167/0.4791, allocations: 33.59 MB / 499.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4791, allocations: 0 / 499.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.157e-05/0.4792, allocations: 12 kB / 499.3 MB, free: 4.762 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.002489/0.4817, allocations: 1.202 MB / 0.4888 GB, free: 3.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4817, allocations: 8.031 kB / 0.4888 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.482, allocations: 111.6 kB / 0.4889 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4831, allocations: 0.8094 MB / 0.4897 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.4832, allocations: 16.94 kB / 0.4897 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.4832, allocations: 24.56 kB / 0.4897 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.4837, allocations: 311.6 kB / 0.49 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4838, allocations: 0 / 0.49 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.4838, allocations: 12 kB / 0.49 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.4838, allocations: 8 kB / 0.49 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.4842, allocations: 238.1 kB / 0.4903 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.486, allocations: 1.199 MB / 0.4914 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.4864, allocations: 202.6 kB / 0.4916 GB, free: 448 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.4868, allocations: 229.3 kB / 0.4918 GB, free: 212 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1602/0.647, allocations: 10.66 MB / 0.5023 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.6471, allocations: 39.09 kB / 0.5023 GB, free: 85.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.545e-06/0.6471, allocations: 2.469 kB / 0.5023 GB, free: 85.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001406/0.6485, allocations: 0.6586 MB / 0.5029 GB, free: 85.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.6485, allocations: 79.67 kB / 0.503 GB, free: 85.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.6494, allocations: 0.7952 MB / 0.5038 GB, free: 85.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.6495, allocations: 30.33 kB / 0.5038 GB, free: 85.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.6497, allocations: 436.2 kB / 0.5042 GB, free: 84.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.6498, allocations: 83.78 kB / 0.5043 GB, free: 84.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.6498, allocations: 7.062 kB / 0.5043 GB, free: 84.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.6498, allocations: 322.7 kB / 0.5046 GB, free: 84.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.65, allocations: 68.33 kB / 0.5047 GB, free: 84.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.6501, allocations: 144.5 kB / 0.5048 GB, free: 84.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.6505, allocations: 231.5 kB / 0.5051 GB, free: 84.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6505, allocations: 1.375 kB / 0.5051 GB, free: 84.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005604/0.651, allocations: 408.7 kB / 0.5054 GB, free: 84.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6511, allocations: 6 kB / 0.5054 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.6511, allocations: 13.44 kB / 0.5055 GB, free: 84.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.6514, allocations: 148.6 kB / 0.5056 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.6516, allocations: 39.95 kB / 0.5056 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004656/0.6521, allocations: 0.7003 MB / 0.5063 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.6523, allocations: 29.28 kB / 0.5064 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.6524, allocations: 17.84 kB / 0.5064 GB, free: 83.8 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.0002067/0.6526, allocations: 201.4 kB / 0.5066 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.6527, allocations: 102.9 kB / 0.5067 GB, free: 83.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/0.6534, allocations: 424.4 kB / 0.5071 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6535, allocations: 2.094 kB / 0.5071 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6535, allocations: 2.156 kB / 0.5071 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6535, allocations: 0 / 0.5071 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.654, allocations: 0.5087 MB / 0.5076 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.654, allocations: 15.47 kB / 0.5076 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.6541, allocations: 28.77 kB / 0.5076 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.6544, allocations: 140.5 kB / 0.5077 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.6544, allocations: 8 kB / 0.5077 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004354/0.6548, allocations: 0.7069 MB / 0.5084 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6548, allocations: 0 / 0.5084 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.6554, allocations: 473.1 kB / 0.5089 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.6555, allocations: 174.5 kB / 0.5091 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.6556, allocations: 12.12 kB / 0.5091 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.6558, allocations: 7.375 kB / 0.5091 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.6559, allocations: 16.5 kB / 0.5091 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.6559, allocations: 15.12 kB / 0.5091 GB, free: 82.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005674/0.6565, allocations: 0.5373 MB / 0.5096 GB, free: 82.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6565, allocations: 0 / 0.5096 GB, free: 82.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.657, allocations: 208.3 kB / 0.5098 GB, free: 82.38 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.0003994/0.6574, allocations: 326.8 kB / 0.5101 GB, free: 82.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.6579, allocations: 286 kB / 0.5104 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6579, allocations: 0 / 0.5104 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.6581, allocations: 182.5 kB / 0.5106 GB, free: 82.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.6586, allocations: 125.3 kB / 0.5107 GB, free: 82.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.6601, allocations: 1.441 MB / 0.5121 GB, free: 81.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.6603, allocations: 0.9358 MB / 0.513 GB, free: 80.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.6604, allocations: 48.72 kB / 0.5131 GB, free: 80.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6604, allocations: 0 / 0.5131 GB, free: 80.7 MB / 378.7 MB Notification: Performance of Templates: time 0.6432/1.304, allocations: 14.09 MB / 0.5268 GB, free: 79.11 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches