Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002062/0.002062, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 59.84 kB / 367.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3077, allocations: 53.31 MB / 420.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006247/0.314, allocations: 5.308 MB / 426 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3247, allocations: 9.138 MB / 435.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.3252, allocations: 47.62 kB / 435.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009732/0.3262, allocations: 393.5 kB / 435.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.3283, allocations: 0.8419 MB / 436.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3297, allocations: 0.5987 MB / 437 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.3324, allocations: 1.728 MB / 438.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.3327, allocations: 103.1 kB / 438.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.3331, allocations: 306.6 kB / 439.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.3335, allocations: 329.9 kB / 439.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.3335, allocations: 32 kB / 439.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.3351, allocations: 0.6594 MB / 440.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.3352, allocations: 103.3 kB / 440.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.3355, allocations: 409.5 kB / 440.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.3371, allocations: 1.218 MB / 441.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3371, allocations: 0 / 441.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3371, allocations: 8 kB / 441.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3371, allocations: 0 / 441.8 MB, free: 3.027 MB / 350.1 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.001887/0.339, allocations: 1.309 MB / 443.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.339, allocations: 8.031 kB / 443.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.3393, allocations: 132.2 kB / 443.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.3406, allocations: 0.8646 MB / 444.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3406, allocations: 20.56 kB / 444.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.3406, allocations: 27.98 kB / 444.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.3412, allocations: 307.7 kB / 444.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3412, allocations: 3.984 kB / 444.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3412, allocations: 8 kB / 444.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.3412, allocations: 12 kB / 444.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.3417, allocations: 234.1 kB / 444.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3434, allocations: 1.187 MB / 445.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.3438, allocations: 178.6 kB / 446.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.3441, allocations: 197.2 kB / 446.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009212/0.3533, allocations: 8.874 MB / 455.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3534, allocations: 38.44 kB / 455.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.3534, allocations: 0 / 455.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001679/0.355, allocations: 0.6652 MB / 455.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.3551, allocations: 85.09 kB / 456 MB, free: 3.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/0.3561, allocations: 0.7987 MB / 456.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3561, allocations: 29.7 kB / 456.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.3565, allocations: 449 kB / 457.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.3566, allocations: 83.27 kB / 457.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.3567, allocations: 53.94 kB / 457.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3568, allocations: 321.9 kB / 457.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.357, allocations: 68.14 kB / 457.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.3572, allocations: 150.4 kB / 457.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3575, allocations: 228.5 kB / 458.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3575, allocations: 0 / 458.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006601/0.3582, allocations: 408.3 kB / 458.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3582, allocations: 4 kB / 458.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.3583, allocations: 16 kB / 458.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.3586, allocations: 147.6 kB / 458.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3588, allocations: 31.97 kB / 458.7 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007108/0.3595, allocations: 0.7123 MB / 459.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.3598, allocations: 27.78 kB / 459.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.3598, allocations: 16 kB / 459.5 MB, free: 15.54 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.3601, allocations: 197.8 kB / 459.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3602, allocations: 107.3 kB / 459.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.361, allocations: 403.3 kB / 460.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.361, allocations: 4 kB / 460.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.361, allocations: 4 kB / 460.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.361, allocations: 0 / 460.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.3616, allocations: 0.5112 MB / 460.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.3616, allocations: 16 kB / 460.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3618, allocations: 19.92 kB / 460.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.3621, allocations: 140.7 kB / 460.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.3621, allocations: 7.938 kB / 460.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.3627, allocations: 0.6919 MB / 461.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3627, allocations: 4.031 kB / 461.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.3633, allocations: 459.6 kB / 462 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.3635, allocations: 176.4 kB / 462.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.3636, allocations: 4 kB / 462.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.3638, allocations: 8 kB / 462.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.3639, allocations: 11.98 kB / 462.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3639, allocations: 8 kB / 462.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006526/0.3645, allocations: 0.5461 MB / 462.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 7.938 kB / 462.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005981/0.3651, allocations: 195.6 kB / 462.9 MB, free: 11.92 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000555/0.3657, allocations: 299.2 kB / 463.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.3663, allocations: 271.6 kB / 463.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3663, allocations: 0.5625 kB / 463.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3666, allocations: 175.3 kB / 463.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.3673, allocations: 162.8 kB / 463.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3692, allocations: 1.254 MB / 465.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3697, allocations: 0.9374 MB / 466 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.37, allocations: 106.7 kB / 466.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.3701, allocations: 47.44 kB / 466.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3701, allocations: 0 / 466.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of Templates: time 0.01819/0.3882, allocations: 9.238 MB / 475.4 MB, free: 15.43 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches