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.001481/0.001481, allocations: 181.2 kB / 16.4 MB, free: 5.723 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.863/1.863, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001085/0.001085, allocations: 93.3 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 11.98 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3123, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.4536, allocations: 89.79 MB / 464.3 MB, free: 6.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.4539, allocations: 71.97 kB / 464.4 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1266/0.5806, allocations: 33.98 MB / 498.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5806, allocations: 0 / 498.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.5807, allocations: 16 kB / 498.4 MB, free: 4.621 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.00274/0.5834, allocations: 1.21 MB / 499.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5835, allocations: 16.02 kB / 499.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.5837, allocations: 110.7 kB / 499.7 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.5855, allocations: 0.7663 MB / 0.4887 GB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.5855, allocations: 20.56 kB / 0.4888 GB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.5856, allocations: 24 kB / 0.4888 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.5864, allocations: 303.7 kB / 0.4891 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5864, allocations: 4 kB / 0.4891 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.5865, allocations: 12 kB / 0.4891 GB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.5865, allocations: 8 kB / 0.4891 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.5872, allocations: 242.1 kB / 0.4893 GB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.5899, allocations: 1.207 MB / 0.4905 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.5905, allocations: 202.5 kB / 0.4907 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2754/0.8659, allocations: 10.69 MB / 0.5011 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.866, allocations: 37.17 kB / 0.5012 GB, free: 85.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.875e-06/0.866, allocations: 1.156 kB / 0.5012 GB, free: 85.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.002378/0.8684, allocations: 0.6404 MB / 0.5018 GB, free: 85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.8684, allocations: 84.12 kB / 0.5019 GB, free: 84.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.8697, allocations: 0.6826 MB / 0.5026 GB, free: 84.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.8698, allocations: 29.64 kB / 0.5026 GB, free: 84.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.8701, allocations: 417.6 kB / 0.503 GB, free: 84.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.8702, allocations: 79.19 kB / 0.5031 GB, free: 84.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.8702, allocations: 4.656 kB / 0.5031 GB, free: 84.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.8703, allocations: 322.9 kB / 0.5034 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.8706, allocations: 70.95 kB / 0.5034 GB, free: 84.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.8708, allocations: 144.7 kB / 0.5036 GB, free: 84.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.8711, allocations: 95.56 kB / 0.5037 GB, free: 84.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8712, allocations: 0 / 0.5037 GB, free: 84.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000818/0.872, allocations: 315.7 kB / 0.504 GB, free: 84.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.872, allocations: 8.922 kB / 0.504 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/0.8721, allocations: 20.31 kB / 0.504 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.8726, allocations: 136.7 kB / 0.5041 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.8729, allocations: 37.64 kB / 0.5042 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008028/0.8737, allocations: 0.7129 MB / 0.5049 GB, free: 83.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.8743, allocations: 27.78 kB / 0.5049 GB, free: 83.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.8743, allocations: 14.31 kB / 0.5049 GB, free: 83.52 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.0003855/0.8747, allocations: 206.2 kB / 0.5051 GB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.8749, allocations: 103.2 kB / 0.5052 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.8763, allocations: 425.2 kB / 0.5056 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8763, allocations: 2.188 kB / 0.5056 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8763, allocations: 4.609 kB / 0.5056 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8763, allocations: 0 / 0.5056 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.8771, allocations: 0.5041 MB / 0.5061 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-05/0.8772, allocations: 15.8 kB / 0.5061 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.8774, allocations: 24.8 kB / 0.5061 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.8779, allocations: 145.9 kB / 0.5063 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.8779, allocations: 5.031 kB / 0.5063 GB, free: 83.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000739/0.8787, allocations: 0.7043 MB / 0.507 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8787, allocations: 2.297 kB / 0.507 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.8796, allocations: 470.3 kB / 0.5074 GB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.8799, allocations: 176 kB / 0.5076 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.88, allocations: 4.5 kB / 0.5076 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.8805, allocations: 9.125 kB / 0.5076 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.8805, allocations: 17.27 kB / 0.5076 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.8806, allocations: 10.03 kB / 0.5076 GB, free: 82.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.8816, allocations: 0.5365 MB / 0.5081 GB, free: 82.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.232e-06/0.8816, allocations: 0 / 0.5081 GB, free: 82.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009103/0.8826, allocations: 212.7 kB / 0.5084 GB, free: 82.11 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.0006596/0.8832, allocations: 320.6 kB / 0.5087 GB, free: 82.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007988/0.8841, allocations: 290.1 kB / 0.5089 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8841, allocations: 0 / 0.5089 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.8845, allocations: 188.6 kB / 0.5091 GB, free: 81.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.8853, allocations: 125 kB / 0.5092 GB, free: 81.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.8877, allocations: 1.44 MB / 0.5106 GB, free: 81.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.8881, allocations: 0.9568 MB / 0.5116 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.8883, allocations: 46.77 kB / 0.5116 GB, free: 80.43 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8883, allocations: 3.656 kB / 0.5116 GB, free: 80.43 MB / 378.7 MB Notification: Performance of Templates: time 0.02269/0.911, allocations: 13.59 MB / 0.5249 GB, free: 79.45 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