Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008168/0.0008169, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.528e-05, allocations: 0 / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09216, allocations: 47.59 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3248/0.417, allocations: 89.68 MB / 459.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4173, allocations: 70.56 kB / 459.8 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07278/0.4901, allocations: 33.95 MB / 493.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4901, allocations: 0 / 493.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4902, allocations: 16 kB / 493.7 MB, free: 2.902 MB / 362.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.001475/0.4916, allocations: 1.036 MB / 494.8 MB, free: 1.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4917, allocations: 8.031 kB / 494.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4918, allocations: 114.7 kB / 494.9 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.4929, allocations: 0.7505 MB / 495.6 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.4929, allocations: 20.56 kB / 495.7 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.493, allocations: 27.98 kB / 495.7 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.4934, allocations: 295.7 kB / 496 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4934, allocations: 0 / 496 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.4935, allocations: 12 kB / 496 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4935, allocations: 8 kB / 496 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.4938, allocations: 222.2 kB / 496.2 MB, free: 316 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.4955, allocations: 1.203 MB / 497.4 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4959, allocations: 194.6 kB / 497.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.4962, allocations: 218.2 kB / 497.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.5074, allocations: 10.79 MB / 0.4967 GB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5075, allocations: 30.56 kB / 0.4967 GB, free: 1.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.966e-06/0.5075, allocations: 4 kB / 0.4967 GB, free: 1.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006788/0.5082, allocations: 349.2 kB / 0.4971 GB, free: 1.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.5082, allocations: 77.11 kB / 0.4971 GB, free: 1.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.509, allocations: 0.6692 MB / 0.4978 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.509, allocations: 25.7 kB / 0.4978 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.5094, allocations: 436.4 kB / 0.4982 GB, free: 352 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.5094, allocations: 86.83 kB / 0.4983 GB, free: 264 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.5094, allocations: 4 kB / 0.4983 GB, free: 260 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5096, allocations: 321.9 kB / 0.4986 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5097, allocations: 56.5 kB / 0.4987 GB, free: 15.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.5098, allocations: 146.6 kB / 0.4988 GB, free: 15.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.51, allocations: 80 kB / 0.4989 GB, free: 15.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.51, allocations: 0 / 0.4989 GB, free: 15.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005196/0.5105, allocations: 392.8 kB / 0.4993 GB, free: 15.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5106, allocations: 12.22 kB / 0.4993 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.5106, allocations: 23.98 kB / 0.4993 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/0.511, allocations: 136.7 kB / 0.4994 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.5112, allocations: 35.97 kB / 0.4995 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006144/0.5118, allocations: 0.7165 MB / 0.5002 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.5121, allocations: 23.78 kB / 0.5002 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.5121, allocations: 16 kB / 0.5002 GB, free: 14.25 MB / 394.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 () * 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 8.906e-05/0.5122, allocations: 116.9 kB / 0.5003 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5123, allocations: 106.8 kB / 0.5004 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008272/0.5132, allocations: 419.2 kB / 0.5008 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5132, allocations: 0 / 0.5008 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.5132, allocations: 7.953 kB / 0.5008 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5132, allocations: 3.984 kB / 0.5008 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.5138, allocations: 0.5034 MB / 0.5013 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.5138, allocations: 12 kB / 0.5013 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.514, allocations: 23.97 kB / 0.5014 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/0.5143, allocations: 136.8 kB / 0.5015 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5143, allocations: 8 kB / 0.5015 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005707/0.5149, allocations: 0.7045 MB / 0.5022 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5149, allocations: 4.062 kB / 0.5022 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.5154, allocations: 444.7 kB / 0.5026 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.5156, allocations: 175.8 kB / 0.5028 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.5157, allocations: 7.922 kB / 0.5028 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.516, allocations: 12 kB / 0.5028 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.516, allocations: 15.94 kB / 0.5028 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.516, allocations: 12 kB / 0.5028 GB, free: 11.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006057/0.5167, allocations: 0.5236 MB / 0.5033 GB, free: 10.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5167, allocations: 0 / 0.5033 GB, free: 10.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006529/0.5173, allocations: 211.7 kB / 0.5035 GB, free: 10.69 MB / 394.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.0005273/0.5179, allocations: 319.5 kB / 0.5038 GB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005385/0.5184, allocations: 275.2 kB / 0.5041 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5184, allocations: 0 / 0.5041 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.5187, allocations: 171.3 kB / 0.5043 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.5192, allocations: 128.8 kB / 0.5044 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.5206, allocations: 0.833 MB / 0.5052 GB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.5211, allocations: 0.9568 MB / 0.5061 GB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.5214, allocations: 94.02 kB / 0.5062 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.5215, allocations: 47.44 kB / 0.5063 GB, free: 7.797 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5215, allocations: 0 / 0.5063 GB, free: 7.797 MB / 394.7 MB Notification: Performance of Templates: time 0.01691/0.5384, allocations: 8.965 MB / 0.515 GB, free: 14.82 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches