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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001634, allocations: 181.8 kB / 8.15 MB, free: 2.051 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001281/0.001281, allocations: 87.81 kB / 261.8 MB, free: 13.66 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.476e-06, allocations: 0 / 314.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2475, allocations: 47.56 MB / 361.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.389, allocations: 88.96 MB / 450.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.3893, allocations: 74.03 kB / 450.9 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1224/0.5118, allocations: 32.66 MB / 483.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.5118, allocations: 15.94 kB / 483.5 MB, free: 12.16 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.002229/0.5141, allocations: 1.043 MB / 484.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5141, allocations: 8.031 kB / 484.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.5143, allocations: 118.6 kB / 484.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.5161, allocations: 0.7505 MB / 485.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.5162, allocations: 12 kB / 485.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.5162, allocations: 15.91 kB / 485.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006246/0.5169, allocations: 209.1 kB / 485.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.5176, allocations: 262.8 kB / 485.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5176, allocations: 0 / 485.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.5176, allocations: 0 / 485.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.5177, allocations: 8 kB / 486 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.5204, allocations: 1.137 MB / 487.1 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.5208, allocations: 145.6 kB / 487.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.5213, allocations: 208.4 kB / 487.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.5392, allocations: 10.71 MB / 498.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.5393, allocations: 38.41 kB / 498.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/0.5393, allocations: 0.6562 kB / 498.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001096/0.5404, allocations: 337.3 kB / 498.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5405, allocations: 85.11 kB / 498.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.5418, allocations: 0.6011 MB / 499.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.5419, allocations: 25.7 kB / 499.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.542, allocations: 230.3 kB / 499.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.5421, allocations: 78.84 kB / 499.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.5421, allocations: 0.5625 kB / 499.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5423, allocations: 314.8 kB / 499.8 MB, free: 9.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.5425, allocations: 60.48 kB / 499.9 MB, free: 9.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.5428, allocations: 133.7 kB / 0.4883 GB, free: 9.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.5431, allocations: 80.95 kB / 0.4884 GB, free: 9.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.5431, allocations: 0 / 0.4884 GB, free: 9.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008157/0.5439, allocations: 278.6 kB / 0.4886 GB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.544, allocations: 12.28 kB / 0.4887 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.925e-05/0.544, allocations: 12 kB / 0.4887 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.5446, allocations: 132.8 kB / 0.4888 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.545, allocations: 31.97 kB / 0.4888 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.5461, allocations: 0.7279 MB / 0.4895 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.5464, allocations: 15.84 kB / 0.4896 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.5464, allocations: 12 kB / 0.4896 GB, free: 8.227 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real 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 () * 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.0001653/0.5466, allocations: 45.55 kB / 0.4896 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.5469, allocations: 102.8 kB / 0.4897 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.5488, allocations: 443.4 kB / 0.4901 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5488, allocations: 0 / 0.4901 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5488, allocations: 3.906 kB / 0.4901 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5488, allocations: 0 / 0.4901 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.5499, allocations: 479 kB / 0.4906 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.5499, allocations: 12 kB / 0.4906 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.5502, allocations: 19.97 kB / 0.4906 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.5507, allocations: 132.8 kB / 0.4907 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.5507, allocations: 7.938 kB / 0.4908 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.5518, allocations: 0.7325 MB / 0.4915 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5519, allocations: 0 / 0.4915 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009845/0.5529, allocations: 444.8 kB / 0.4919 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.5532, allocations: 171.9 kB / 0.4921 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5534, allocations: 0 / 0.4921 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.5538, allocations: 7.906 kB / 0.4921 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.5539, allocations: 19.94 kB / 0.4921 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.554, allocations: 11.98 kB / 0.4921 GB, free: 5.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009664/0.555, allocations: 470.9 kB / 0.4925 GB, free: 5.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009567/0.5559, allocations: 207.8 kB / 0.4927 GB, free: 4.84 MB / 394.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 () * 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.000793/0.5567, allocations: 331.7 kB / 0.4931 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.5576, allocations: 236.2 kB / 0.4933 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5576, allocations: 0 / 0.4933 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.5581, allocations: 166.8 kB / 0.4934 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/0.559, allocations: 131.9 kB / 0.4936 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.5618, allocations: 0.8654 MB / 0.4944 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008524/0.5627, allocations: 1.003 MB / 0.4954 GB, free: 2.039 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5627, allocations: 0 / 0.4954 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Templates: time 0.1556/0.7183, allocations: 13.54 MB / 0.5086 GB, free: 149.8 MB / 394.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