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.0009753/0.0009753, allocations: 196.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007734/0.0007734, allocations: 96.55 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002216/0.0002217, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1898, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.2932, allocations: 92.3 MB / 0.4899 GB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.2935, allocations: 75.97 kB / 0.49 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2204/0.5139, allocations: 37.23 MB / 0.5263 GB, free: 86.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5139, allocations: 0 / 0.5263 GB, free: 86.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.5139, allocations: 11.59 kB / 0.5264 GB, free: 86.24 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.001447/0.5154, allocations: 1.214 MB / 0.5275 GB, free: 85.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5154, allocations: 15.97 kB / 0.5276 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.5156, allocations: 131.6 kB / 0.5277 GB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.5165, allocations: 0.7977 MB / 0.5285 GB, free: 84.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5165, allocations: 16.94 kB / 0.5285 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.5165, allocations: 24.75 kB / 0.5285 GB, free: 84.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.517, allocations: 319.6 kB / 0.5288 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.517, allocations: 0 / 0.5288 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.517, allocations: 12 kB / 0.5288 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.517, allocations: 8 kB / 0.5288 GB, free: 83.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.5174, allocations: 238.1 kB / 0.5291 GB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.5187, allocations: 1.2 MB / 0.5302 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.519, allocations: 198.6 kB / 0.5304 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.5193, allocations: 245.2 kB / 0.5306 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007462/0.5268, allocations: 10.98 MB / 0.5414 GB, free: 68.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.5268, allocations: 38.5 kB / 0.5414 GB, free: 68.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.525e-06/0.5268, allocations: 4 kB / 0.5414 GB, free: 68.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001326/0.5281, allocations: 0.654 MB / 0.542 GB, free: 68.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.5282, allocations: 81.11 kB / 0.5421 GB, free: 68.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007759/0.529, allocations: 0.7988 MB / 0.5429 GB, free: 67.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.529, allocations: 29.7 kB / 0.5429 GB, free: 67.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.5292, allocations: 428.7 kB / 0.5433 GB, free: 66.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5293, allocations: 86.75 kB / 0.5434 GB, free: 66.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.5293, allocations: 4 kB / 0.5434 GB, free: 66.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.5294, allocations: 322 kB / 0.5437 GB, free: 66.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.5295, allocations: 68.2 kB / 0.5438 GB, free: 66.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.5297, allocations: 151 kB / 0.5439 GB, free: 66.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.5299, allocations: 240.2 kB / 0.5442 GB, free: 65.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5299, allocations: 0 / 0.5442 GB, free: 65.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004794/0.5304, allocations: 412 kB / 0.5446 GB, free: 65.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5305, allocations: 8 kB / 0.5446 GB, free: 65.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.5305, allocations: 12 kB / 0.5446 GB, free: 65.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.5308, allocations: 141 kB / 0.5447 GB, free: 65.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.531, allocations: 43.91 kB / 0.5448 GB, free: 65.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004667/0.5314, allocations: 0.711 MB / 0.5455 GB, free: 64.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.5317, allocations: 27.75 kB / 0.5455 GB, free: 64.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.5318, allocations: 12 kB / 0.5455 GB, free: 64.46 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.0002334/0.532, allocations: 205.8 kB / 0.5457 GB, free: 64.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.5321, allocations: 106.7 kB / 0.5458 GB, free: 64.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.5328, allocations: 415.3 kB / 0.5462 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.5329, allocations: 4 kB / 0.5462 GB, free: 63.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5329, allocations: 3.938 kB / 0.5462 GB, free: 63.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5329, allocations: 0 / 0.5462 GB, free: 63.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.5334, allocations: 0.5073 MB / 0.5467 GB, free: 63.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.5334, allocations: 12 kB / 0.5467 GB, free: 63.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5335, allocations: 31.91 kB / 0.5467 GB, free: 63.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.5337, allocations: 132.7 kB / 0.5469 GB, free: 62.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5338, allocations: 8 kB / 0.5469 GB, free: 62.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004154/0.5342, allocations: 0.7045 MB / 0.5476 GB, free: 62.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5342, allocations: 0 / 0.5476 GB, free: 62.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.5347, allocations: 475.7 kB / 0.548 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.5348, allocations: 171.8 kB / 0.5482 GB, free: 61.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.5349, allocations: 4 kB / 0.5482 GB, free: 61.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.5351, allocations: 11.98 kB / 0.5482 GB, free: 61.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.5352, allocations: 19.92 kB / 0.5482 GB, free: 61.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5352, allocations: 8 kB / 0.5482 GB, free: 61.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005131/0.5357, allocations: 0.5383 MB / 0.5487 GB, free: 60.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5357, allocations: 3.938 kB / 0.5487 GB, free: 60.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005488/0.5363, allocations: 219.8 kB / 0.549 GB, free: 60.77 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.0004109/0.5367, allocations: 322.6 kB / 0.5493 GB, free: 60.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.5372, allocations: 276.8 kB / 0.5495 GB, free: 60.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5372, allocations: 4 kB / 0.5495 GB, free: 60.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.5374, allocations: 186.3 kB / 0.5497 GB, free: 59.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.5381, allocations: 139.9 kB / 0.5498 GB, free: 59.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.5396, allocations: 1.419 MB / 0.5512 GB, free: 58.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5399, allocations: 0.9373 MB / 0.5521 GB, free: 57.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.5402, allocations: 98.02 kB / 0.5522 GB, free: 57.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.5402, allocations: 47.44 kB / 0.5523 GB, free: 57.28 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5402, allocations: 0 / 0.5523 GB, free: 57.28 MB / 378.7 MB Notification: Performance of Templates: time 0.0135/0.5537, allocations: 9.218 MB / 0.5613 GB, free: 48.13 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/jenkins1/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