Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.000988/0.0009884, allocations: 184 kB / 8.138 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 221.4 MB / 229.9 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 101.2 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.323e-06/7.454e-06, allocations: 4 kB / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 50.38 MB / 386.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09413/0.2854, allocations: 90.69 MB / 477.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.2856, allocations: 73.22 kB / 477.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2201/0.5057, allocations: 36.09 MB / 0.5017 GB, free: 92.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.5058, allocations: 14.66 kB / 0.5017 GB, free: 92.09 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.00128/0.5071, allocations: 1.045 MB / 0.5027 GB, free: 91.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5071, allocations: 13.31 kB / 0.5027 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.5073, allocations: 118 kB / 0.5029 GB, free: 91.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.5082, allocations: 0.7492 MB / 0.5036 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.5083, allocations: 6.531 kB / 0.5036 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.5083, allocations: 17.22 kB / 0.5036 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003344/0.5087, allocations: 204 kB / 0.5038 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.509, allocations: 265 kB / 0.5041 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.509, allocations: 0 / 0.5041 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.5091, allocations: 4.656 kB / 0.5041 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5091, allocations: 7.219 kB / 0.5041 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.5106, allocations: 1.14 MB / 0.5052 GB, free: 90.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5108, allocations: 151 kB / 0.5053 GB, free: 90.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.5111, allocations: 202.8 kB / 0.5055 GB, free: 90.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008292/0.5194, allocations: 10.72 MB / 0.516 GB, free: 81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5194, allocations: 39.28 kB / 0.516 GB, free: 80.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.5194, allocations: 0 / 0.516 GB, free: 80.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006181/0.52, allocations: 337.8 kB / 0.5164 GB, free: 80.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.5201, allocations: 91.31 kB / 0.5164 GB, free: 80.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.5207, allocations: 0.5996 MB / 0.517 GB, free: 80.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5207, allocations: 28.77 kB / 0.5171 GB, free: 80.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5209, allocations: 237.5 kB / 0.5173 GB, free: 80.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.5209, allocations: 83.92 kB / 0.5174 GB, free: 80.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5209, allocations: 0 / 0.5174 GB, free: 80.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.521, allocations: 316.3 kB / 0.5177 GB, free: 80.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.5211, allocations: 54.55 kB / 0.5177 GB, free: 80.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.5212, allocations: 129.3 kB / 0.5178 GB, free: 80.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.5213, allocations: 81.98 kB / 0.5179 GB, free: 80 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5213, allocations: 0 / 0.5179 GB, free: 80 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004524/0.5218, allocations: 376.3 kB / 0.5183 GB, free: 79.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5218, allocations: 3.938 kB / 0.5183 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.5218, allocations: 13 kB / 0.5183 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.5222, allocations: 134.6 kB / 0.5184 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.5223, allocations: 34.59 kB / 0.5185 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005489/0.5229, allocations: 0.7359 MB / 0.5192 GB, free: 79.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.5232, allocations: 23.53 kB / 0.5192 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.5232, allocations: 18.53 kB / 0.5192 GB, free: 79.34 MB / 378.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.0001219/0.5234, allocations: 112.9 kB / 0.5193 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.5235, allocations: 102.1 kB / 0.5194 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.5244, allocations: 440.3 kB / 0.5198 GB, free: 79.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5245, allocations: 4.812 kB / 0.5198 GB, free: 79.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5245, allocations: 7.875 kB / 0.5198 GB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5245, allocations: 0 / 0.5198 GB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.5249, allocations: 470.2 kB / 0.5203 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.525, allocations: 11.88 kB / 0.5203 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5251, allocations: 22.44 kB / 0.5203 GB, free: 78.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.5254, allocations: 136.9 kB / 0.5205 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.5254, allocations: 2.906 kB / 0.5205 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004813/0.5259, allocations: 0.7287 MB / 0.5212 GB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5259, allocations: 3.906 kB / 0.5212 GB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004443/0.5263, allocations: 433.4 kB / 0.5216 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.5265, allocations: 178.6 kB / 0.5218 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5266, allocations: 3.906 kB / 0.5218 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5269, allocations: 3.938 kB / 0.5218 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.5269, allocations: 11.5 kB / 0.5218 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.527, allocations: 15.33 kB / 0.5218 GB, free: 78.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004444/0.5274, allocations: 474 kB / 0.5222 GB, free: 77.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005943/0.528, allocations: 197.5 kB / 0.5224 GB, free: 77.87 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 () * 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.0004324/0.5284, allocations: 336.7 kB / 0.5228 GB, free: 77.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.5289, allocations: 251 kB / 0.523 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5289, allocations: 0 / 0.523 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5291, allocations: 163 kB / 0.5232 GB, free: 77.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.5297, allocations: 146.9 kB / 0.5233 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5311, allocations: 0.8231 MB / 0.5241 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.5315, allocations: 1.006 MB / 0.5251 GB, free: 76.36 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5315, allocations: 0.5 kB / 0.5251 GB, free: 76.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01486/0.5464, allocations: 8.262 MB / 0.5331 GB, free: 72.55 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches