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.001791/0.001791, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.306/1.306, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.0007285/0.0007285, allocations: 90.3 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005174, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2164, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09682/0.3132, allocations: 89.89 MB / 466.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.3135, allocations: 75.97 kB / 467 MB, free: 6.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07698/0.3905, allocations: 33.59 MB / 0.4889 GB, free: 4.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3905, allocations: 3.938 kB / 0.4889 GB, free: 4.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.494e-05/0.3905, allocations: 12 kB / 0.4889 GB, free: 4.691 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.002073/0.3926, allocations: 1.206 MB / 0.49 GB, free: 3.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3927, allocations: 8.031 kB / 0.4901 GB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.3928, allocations: 115.6 kB / 0.4902 GB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.394, allocations: 0.8016 MB / 0.4909 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.394, allocations: 20.94 kB / 0.491 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.3941, allocations: 24.56 kB / 0.491 GB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.3946, allocations: 311.5 kB / 0.4913 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3946, allocations: 0 / 0.4913 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.3947, allocations: 12 kB / 0.4913 GB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3947, allocations: 11.98 kB / 0.4913 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.3951, allocations: 238.1 kB / 0.4915 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.397, allocations: 1.195 MB / 0.4927 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.3975, allocations: 194.6 kB / 0.4929 GB, free: 380 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3979, allocations: 237.3 kB / 0.4931 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1591/0.557, allocations: 10.67 MB / 0.5035 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.5571, allocations: 44.03 kB / 0.5036 GB, free: 85.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.384e-06/0.5571, allocations: 0 / 0.5036 GB, free: 85.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001469/0.5586, allocations: 0.6538 MB / 0.5042 GB, free: 85.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.5586, allocations: 80.17 kB / 0.5043 GB, free: 85.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.5596, allocations: 0.7983 MB / 0.5051 GB, free: 84.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5596, allocations: 26.67 kB / 0.5051 GB, free: 84.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.5599, allocations: 437.9 kB / 0.5055 GB, free: 84.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.5599, allocations: 83.23 kB / 0.5056 GB, free: 84.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.56, allocations: 4.875 kB / 0.5056 GB, free: 84.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.56, allocations: 319.5 kB / 0.5059 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.5602, allocations: 66.86 kB / 0.506 GB, free: 84.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.5603, allocations: 144.4 kB / 0.5061 GB, free: 84.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.5607, allocations: 231.5 kB / 0.5063 GB, free: 84.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.5607, allocations: 0.9375 kB / 0.5063 GB, free: 84.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000572/0.5613, allocations: 406.1 kB / 0.5067 GB, free: 84.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5613, allocations: 5.562 kB / 0.5067 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.5613, allocations: 20.91 kB / 0.5067 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.5617, allocations: 144.7 kB / 0.5069 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5619, allocations: 36.86 kB / 0.5069 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00052/0.5624, allocations: 0.7014 MB / 0.5076 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.5627, allocations: 38.86 kB / 0.5076 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.5627, allocations: 16.03 kB / 0.5076 GB, free: 83.7 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.0002578/0.563, allocations: 197.2 kB / 0.5078 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.5632, allocations: 102.1 kB / 0.5079 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000886/0.5641, allocations: 425.8 kB / 0.5083 GB, free: 83.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5641, allocations: 5.938 kB / 0.5083 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5641, allocations: 4 kB / 0.5083 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5641, allocations: 3.328 kB / 0.5084 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.5648, allocations: 0.504 MB / 0.5088 GB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/0.5649, allocations: 12.31 kB / 0.5089 GB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.565, allocations: 25.98 kB / 0.5089 GB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/0.5653, allocations: 141.6 kB / 0.509 GB, free: 83.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.5654, allocations: 8.688 kB / 0.509 GB, free: 83.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004779/0.5658, allocations: 0.7052 MB / 0.5097 GB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5658, allocations: 0 / 0.5097 GB, free: 82.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.5664, allocations: 473.3 kB / 0.5102 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.5666, allocations: 174.1 kB / 0.5103 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.5667, allocations: 9.594 kB / 0.5103 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.5669, allocations: 12.61 kB / 0.5104 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.5669, allocations: 11.59 kB / 0.5104 GB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.567, allocations: 10.38 kB / 0.5104 GB, free: 82.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005502/0.5675, allocations: 0.538 MB / 0.5109 GB, free: 82.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5675, allocations: 0 / 0.5109 GB, free: 82.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000613/0.5681, allocations: 209.5 kB / 0.5111 GB, free: 82.28 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.0004388/0.5686, allocations: 330.3 kB / 0.5114 GB, free: 82.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.5691, allocations: 291.8 kB / 0.5117 GB, free: 82.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5691, allocations: 0 / 0.5117 GB, free: 82.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.5694, allocations: 177 kB / 0.5119 GB, free: 82.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.57, allocations: 124.6 kB / 0.512 GB, free: 82.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.5715, allocations: 1.4 MB / 0.5133 GB, free: 81.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.5718, allocations: 0.9405 MB / 0.5143 GB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.5721, allocations: 96.69 kB / 0.5144 GB, free: 80.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.5721, allocations: 51.33 kB / 0.5144 GB, free: 80.62 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5721, allocations: 0 / 0.5144 GB, free: 80.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01382/0.586, allocations: 9.157 MB / 0.5233 GB, free: 79.98 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/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_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches