Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001894/0.001894, allocations: 203.4 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 225.5 MB / 234.4 MB, free: 14.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008827/0.0008826, allocations: 96.58 kB / 286.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.283e-06/7.323e-06, allocations: 4 kB / 343.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 51.46 MB / 394.6 MB, free: 33.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3117, allocations: 91.49 MB / 486.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.3121, allocations: 71.97 kB / 486.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2617/0.5738, allocations: 36.34 MB / 0.5103 GB, free: 91.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.779e-05/0.5738, allocations: 11.78 kB / 0.5103 GB, free: 91.04 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.001931/0.5758, allocations: 1.053 MB / 0.5113 GB, free: 90.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5758, allocations: 7.844 kB / 0.5113 GB, free: 90.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.5762, allocations: 128.4 kB / 0.5114 GB, free: 90.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5773, allocations: 0.7562 MB / 0.5122 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5774, allocations: 3.969 kB / 0.5122 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.5774, allocations: 15.78 kB / 0.5122 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003562/0.5778, allocations: 202 kB / 0.5124 GB, free: 89.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.5782, allocations: 261.6 kB / 0.5126 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5782, allocations: 3.938 kB / 0.5126 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.5782, allocations: 0 / 0.5126 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.5783, allocations: 11.97 kB / 0.5126 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.5799, allocations: 1.142 MB / 0.5138 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.5802, allocations: 143.2 kB / 0.5139 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.5804, allocations: 205.6 kB / 0.5141 GB, free: 88.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.5912, allocations: 11.06 MB / 0.5249 GB, free: 78.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.5913, allocations: 34.56 kB / 0.5249 GB, free: 78.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.074e-06/0.5913, allocations: 0 / 0.5249 GB, free: 78.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006821/0.592, allocations: 338.3 kB / 0.5252 GB, free: 77.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.592, allocations: 85.05 kB / 0.5253 GB, free: 77.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.5927, allocations: 0.5983 MB / 0.5259 GB, free: 77.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.5927, allocations: 25.7 kB / 0.5259 GB, free: 77.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.5929, allocations: 249.8 kB / 0.5262 GB, free: 77.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.5929, allocations: 74.39 kB / 0.5262 GB, free: 76.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.5929, allocations: 4 kB / 0.5262 GB, free: 76.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.593, allocations: 319.1 kB / 0.5266 GB, free: 76.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.5931, allocations: 52.23 kB / 0.5266 GB, free: 76.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5932, allocations: 129.5 kB / 0.5267 GB, free: 76.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5934, allocations: 82.84 kB / 0.5268 GB, free: 76.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5934, allocations: 4 kB / 0.5268 GB, free: 76.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000506/0.5939, allocations: 363.6 kB / 0.5272 GB, free: 76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5939, allocations: 4 kB / 0.5272 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/0.5939, allocations: 19.7 kB / 0.5272 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.5943, allocations: 139.4 kB / 0.5273 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.5945, allocations: 39.34 kB / 0.5273 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005487/0.595, allocations: 0.7302 MB / 0.5281 GB, free: 75.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.5954, allocations: 30.02 kB / 0.5281 GB, free: 75.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.5954, allocations: 16 kB / 0.5281 GB, free: 75.05 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.0001186/0.5956, allocations: 107.6 kB / 0.5282 GB, free: 74.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.5957, allocations: 102.8 kB / 0.5283 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.5966, allocations: 451.6 kB / 0.5287 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5966, allocations: 8.406 kB / 0.5287 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5966, allocations: 0 / 0.5287 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5967, allocations: 0 / 0.5287 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.5972, allocations: 476.3 kB / 0.5292 GB, free: 74.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/0.5972, allocations: 12 kB / 0.5292 GB, free: 74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.5973, allocations: 15.52 kB / 0.5292 GB, free: 73.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.5976, allocations: 131.2 kB / 0.5294 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.5976, allocations: 8 kB / 0.5294 GB, free: 73.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004938/0.5981, allocations: 0.723 MB / 0.5301 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5981, allocations: 3.609 kB / 0.5301 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000466/0.5986, allocations: 438.9 kB / 0.5305 GB, free: 72.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.5988, allocations: 175.4 kB / 0.5307 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5989, allocations: 3.797 kB / 0.5307 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.5992, allocations: 4 kB / 0.5307 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.5992, allocations: 23.58 kB / 0.5307 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.5993, allocations: 11.61 kB / 0.5307 GB, free: 72.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004386/0.5997, allocations: 475.5 kB / 0.5311 GB, free: 72.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006233/0.6003, allocations: 207.5 kB / 0.5313 GB, free: 71.86 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.0005299/0.6009, allocations: 333.5 kB / 0.5317 GB, free: 71.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.6013, allocations: 242.6 kB / 0.5319 GB, free: 71.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6014, allocations: 4 kB / 0.5319 GB, free: 71.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.6016, allocations: 168.8 kB / 0.5321 GB, free: 71.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.6022, allocations: 142.5 kB / 0.5322 GB, free: 71.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.6037, allocations: 0.8237 MB / 0.533 GB, free: 70.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.6042, allocations: 1.002 MB / 0.534 GB, free: 69.34 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6042, allocations: 4 kB / 0.534 GB, free: 69.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01506/0.6193, allocations: 8.294 MB / 0.5421 GB, free: 61.56 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches