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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007941/0.0007942, allocations: 94 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.517e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4537, allocations: 91.57 MB / 486.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4539, allocations: 68.14 kB / 486.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07864/0.5326, allocations: 36.36 MB / 0.5109 GB, free: 2.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5326, allocations: 0 / 0.5109 GB, free: 2.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.5326, allocations: 12 kB / 0.5109 GB, free: 2.285 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.001801/0.5344, allocations: 1.031 MB / 0.5119 GB, free: 1.211 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5345, allocations: 8.031 kB / 0.5119 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.5348, allocations: 127.5 kB / 0.5121 GB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5358, allocations: 0.758 MB / 0.5128 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5359, allocations: 8 kB / 0.5128 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.5359, allocations: 13.78 kB / 0.5128 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003746/0.5363, allocations: 209.1 kB / 0.513 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.5368, allocations: 266.7 kB / 0.5133 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5368, allocations: 3.938 kB / 0.5133 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5368, allocations: 0 / 0.5133 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.5368, allocations: 4 kB / 0.5133 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.5385, allocations: 1.147 MB / 0.5144 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.5388, allocations: 186.6 kB / 0.5146 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.5391, allocations: 215.6 kB / 0.5148 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.5502, allocations: 11.1 MB / 0.5256 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5503, allocations: 34.56 kB / 0.5256 GB, free: 1.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 3.757e-06/0.5503, allocations: 0 / 0.5256 GB, free: 1.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.000652/0.551, allocations: 341.4 kB / 0.526 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.551, allocations: 77.11 kB / 0.526 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.5518, allocations: 0.6011 MB / 0.5266 GB, free: 64 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.5518, allocations: 25.7 kB / 0.5267 GB, free: 32 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.5522, allocations: 432.2 kB / 0.5271 GB, free: 15.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.5522, allocations: 78.75 kB / 0.5271 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.5523, allocations: 4 kB / 0.5272 GB, free: 15.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5524, allocations: 318 kB / 0.5275 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5525, allocations: 56.23 kB / 0.5275 GB, free: 15.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.5526, allocations: 130.2 kB / 0.5276 GB, free: 14.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5528, allocations: 90.88 kB / 0.5277 GB, free: 14.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5528, allocations: 0 / 0.5277 GB, free: 14.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004963/0.5533, allocations: 361.5 kB / 0.5281 GB, free: 14.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5533, allocations: 8.062 kB / 0.5281 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.5534, allocations: 16 kB / 0.5281 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.5537, allocations: 130.5 kB / 0.5282 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.5539, allocations: 35.97 kB / 0.5282 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006345/0.5545, allocations: 0.7279 MB / 0.529 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.5548, allocations: 19.75 kB / 0.529 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.5549, allocations: 15.98 kB / 0.529 GB, free: 13.57 MB / 410.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.0001415/0.555, allocations: 113 kB / 0.5291 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5551, allocations: 102.8 kB / 0.5292 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.5559, allocations: 401.3 kB / 0.5296 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5559, allocations: 0 / 0.5296 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5559, allocations: 4 kB / 0.5296 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.556, allocations: 3.953 kB / 0.5296 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.5565, allocations: 467.1 kB / 0.53 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/0.5565, allocations: 15.98 kB / 0.53 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.5567, allocations: 15.98 kB / 0.5301 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.5569, allocations: 140.4 kB / 0.5302 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.557, allocations: 4 kB / 0.5302 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005664/0.5575, allocations: 0.724 MB / 0.5309 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5575, allocations: 0 / 0.5309 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.5581, allocations: 432.1 kB / 0.5313 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.5582, allocations: 171.9 kB / 0.5315 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.5583, allocations: 4.062 kB / 0.5315 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.5585, allocations: 4 kB / 0.5315 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5586, allocations: 11.98 kB / 0.5315 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.5586, allocations: 19.94 kB / 0.5315 GB, free: 10.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004951/0.5591, allocations: 474.8 kB / 0.532 GB, free: 10.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5591, allocations: 0 / 0.532 GB, free: 10.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006491/0.5598, allocations: 211.6 kB / 0.5322 GB, free: 10.18 MB / 410.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.0005197/0.5603, allocations: 337.7 kB / 0.5325 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.5608, allocations: 255.9 kB / 0.5327 GB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5608, allocations: 3.938 kB / 0.5327 GB, free: 9.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.5611, allocations: 159.4 kB / 0.5329 GB, free: 9.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.5617, allocations: 149.7 kB / 0.533 GB, free: 9.266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5631, allocations: 0.8136 MB / 0.5338 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.5636, allocations: 0.9643 MB / 0.5348 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003224/0.5639, allocations: 97.91 kB / 0.5349 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.564, allocations: 43.44 kB / 0.5349 GB, free: 7.293 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.564, allocations: 0 / 0.5349 GB, free: 7.293 MB / 410.7 MB Notification: Performance of Templates: time 0.01494/0.5789, allocations: 7.892 MB / 0.5426 GB, free: 15.51 MB / 426.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