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.001061/0.001061, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008428/0.0008428, allocations: 107.4 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 357.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1878, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09829/0.2861, allocations: 92.3 MB / 0.49 GB, free: 14.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.2864, allocations: 76.83 kB / 0.49 GB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2537/0.5401, allocations: 37.67 MB / 0.5268 GB, free: 84.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5402, allocations: 0 / 0.5268 GB, free: 84.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.5402, allocations: 12 kB / 0.5268 GB, free: 84.42 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.001676/0.5419, allocations: 1.226 MB / 0.528 GB, free: 83.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.5419, allocations: 8.031 kB / 0.528 GB, free: 83.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.5422, allocations: 130.7 kB / 0.5282 GB, free: 83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.5432, allocations: 0.7584 MB / 0.5289 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5432, allocations: 12.56 kB / 0.5289 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.5432, allocations: 31.91 kB / 0.5289 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.5437, allocations: 311.7 kB / 0.5292 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5437, allocations: 4 kB / 0.5292 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.5437, allocations: 7.938 kB / 0.5292 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5437, allocations: 12 kB / 0.5293 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.5441, allocations: 234.1 kB / 0.5295 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.5455, allocations: 1.21 MB / 0.5307 GB, free: 80.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.5458, allocations: 206.4 kB / 0.5309 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007622/0.5534, allocations: 11.01 MB / 0.5416 GB, free: 67.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.5535, allocations: 42.5 kB / 0.5417 GB, free: 67.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.265e-06/0.5535, allocations: 3.984 kB / 0.5417 GB, free: 67.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001259/0.5547, allocations: 0.6415 MB / 0.5423 GB, free: 66.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.5548, allocations: 81.11 kB / 0.5424 GB, free: 66.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.5555, allocations: 0.6761 MB / 0.543 GB, free: 65.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5555, allocations: 29.7 kB / 0.5431 GB, free: 65.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.5558, allocations: 440.7 kB / 0.5435 GB, free: 65.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.5558, allocations: 70.91 kB / 0.5435 GB, free: 65.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.5558, allocations: 4 kB / 0.5435 GB, free: 65.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.5559, allocations: 318 kB / 0.5438 GB, free: 64.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.556, allocations: 76.2 kB / 0.5439 GB, free: 64.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.5561, allocations: 141.8 kB / 0.5441 GB, free: 64.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.5563, allocations: 100.2 kB / 0.5442 GB, free: 64.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5563, allocations: 0 / 0.5442 GB, free: 64.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004873/0.5568, allocations: 407.4 kB / 0.5445 GB, free: 64.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5568, allocations: 11.94 kB / 0.5446 GB, free: 64.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.5568, allocations: 19.92 kB / 0.5446 GB, free: 64.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.5572, allocations: 141.1 kB / 0.5447 GB, free: 63.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.5573, allocations: 31.98 kB / 0.5447 GB, free: 63.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004496/0.5578, allocations: 0.7183 MB / 0.5454 GB, free: 63.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.558, allocations: 35.67 kB / 0.5455 GB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5581, allocations: 12 kB / 0.5455 GB, free: 63.05 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.0001957/0.5583, allocations: 193.8 kB / 0.5457 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.5584, allocations: 102.8 kB / 0.5458 GB, free: 62.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.5591, allocations: 427.5 kB / 0.5462 GB, free: 62.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5591, allocations: 4 kB / 0.5462 GB, free: 62.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5591, allocations: 0 / 0.5462 GB, free: 62.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5591, allocations: 0 / 0.5462 GB, free: 62.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.5596, allocations: 0.5073 MB / 0.5467 GB, free: 61.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.5596, allocations: 12 kB / 0.5467 GB, free: 61.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5597, allocations: 23.97 kB / 0.5467 GB, free: 61.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.56, allocations: 143.5 kB / 0.5468 GB, free: 61.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.56, allocations: 11.98 kB / 0.5469 GB, free: 61.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003946/0.5604, allocations: 0.7045 MB / 0.5475 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5604, allocations: 7.984 kB / 0.5475 GB, free: 60.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.5609, allocations: 468.7 kB / 0.548 GB, free: 60.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.5611, allocations: 175.8 kB / 0.5482 GB, free: 60.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.5611, allocations: 4 kB / 0.5482 GB, free: 60.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.5614, allocations: 12 kB / 0.5482 GB, free: 60.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.5614, allocations: 19.94 kB / 0.5482 GB, free: 60.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.5614, allocations: 11.98 kB / 0.5482 GB, free: 60.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004935/0.5619, allocations: 0.5344 MB / 0.5487 GB, free: 59.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5619, allocations: 0 / 0.5487 GB, free: 59.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004938/0.5624, allocations: 215.7 kB / 0.5489 GB, free: 59.36 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.0004268/0.5629, allocations: 329.1 kB / 0.5493 GB, free: 59.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.5634, allocations: 284 kB / 0.5495 GB, free: 58.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5634, allocations: 0 / 0.5495 GB, free: 58.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.5636, allocations: 179.2 kB / 0.5497 GB, free: 58.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.5642, allocations: 151.3 kB / 0.5498 GB, free: 58.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.5657, allocations: 1.411 MB / 0.5512 GB, free: 56.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5659, allocations: 0.9529 MB / 0.5521 GB, free: 55.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.5663, allocations: 98 kB / 0.5522 GB, free: 55.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.5663, allocations: 47.44 kB / 0.5523 GB, free: 55.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5663, allocations: 0 / 0.5523 GB, free: 55.84 MB / 378.7 MB Notification: Performance of Templates: time 0.0135/0.5798, allocations: 8.712 MB / 0.5608 GB, free: 47.2 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