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.001943/0.001943, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009268/0.0009272, allocations: 107.5 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2225, allocations: 50.44 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004107/0.2266, allocations: 5.309 MB / 412.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007457/0.2341, allocations: 9.268 MB / 421.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005478/0.2347, allocations: 19.88 kB / 421.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.2355, allocations: 346.2 kB / 422 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.2372, allocations: 0.7027 MB / 422.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2382, allocations: 478 kB / 423.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.24, allocations: 1.684 MB / 424.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.2403, allocations: 155.6 kB / 425 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.2405, allocations: 298.5 kB / 425.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.2408, allocations: 318 kB / 425.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.2409, allocations: 20 kB / 425.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.242, allocations: 0.6515 MB / 426.3 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.2421, allocations: 95.33 kB / 426.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.2423, allocations: 397.5 kB / 426.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.2432, allocations: 1.179 MB / 427.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2432, allocations: 0 / 427.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2432, allocations: 3.984 kB / 427.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2433, allocations: 3.938 kB / 427.9 MB, free: 6.848 MB / 298.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.001494/0.2448, allocations: 1.271 MB / 429.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2448, allocations: 8.031 kB / 429.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.245, allocations: 131.6 kB / 429.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.246, allocations: 0.8482 MB / 430.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.246, allocations: 20.56 kB / 430.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.246, allocations: 27.94 kB / 430.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.2464, allocations: 311.6 kB / 430.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2464, allocations: 0 / 430.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.2465, allocations: 12 kB / 430.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2465, allocations: 8 kB / 430.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.2468, allocations: 234.1 kB / 430.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2482, allocations: 1.19 MB / 432 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.2485, allocations: 190.7 kB / 432.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.2487, allocations: 226 kB / 432.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007569/0.2563, allocations: 8.882 MB / 441.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2564, allocations: 34.56 kB / 441.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.2564, allocations: 0 / 441.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001528/0.2579, allocations: 0.664 MB / 442 MB, free: 7.105 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.258, allocations: 85.11 kB / 442 MB, free: 7.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.2588, allocations: 0.8026 MB / 442.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2588, allocations: 25.7 kB / 442.9 MB, free: 6.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.2591, allocations: 440.6 kB / 443.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.2592, allocations: 86.83 kB / 443.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.2593, allocations: 53.94 kB / 443.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.2594, allocations: 321.9 kB / 443.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2595, allocations: 64.22 kB / 443.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2597, allocations: 146.4 kB / 444 MB, free: 5.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.26, allocations: 226.2 kB / 444.2 MB, free: 4.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.26, allocations: 4 kB / 444.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005619/0.2606, allocations: 406.6 kB / 444.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2606, allocations: 8 kB / 444.6 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.2606, allocations: 12 kB / 444.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.261, allocations: 156 kB / 444.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2612, allocations: 31.92 kB / 444.8 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005563/0.2617, allocations: 0.7084 MB / 445.5 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.262, allocations: 27.81 kB / 445.5 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.262, allocations: 16 kB / 445.5 MB, free: 3.375 MB / 314.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 (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.0002107/0.2622, allocations: 203.8 kB / 445.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2623, allocations: 106.8 kB / 445.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.2631, allocations: 411.3 kB / 446.2 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2631, allocations: 4 kB / 446.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2631, allocations: 0 / 446.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2632, allocations: 0 / 446.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.2637, allocations: 0.5073 MB / 446.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.2637, allocations: 16 kB / 446.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2638, allocations: 19.97 kB / 446.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.2641, allocations: 136.8 kB / 446.9 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2641, allocations: 11.88 kB / 446.9 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005984/0.2647, allocations: 0.7057 MB / 447.6 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2648, allocations: 4.047 kB / 447.6 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.2658, allocations: 1.271 MB / 448.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.266, allocations: 175.8 kB / 449.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.2661, allocations: 3.938 kB / 449.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2663, allocations: 8 kB / 449.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.2664, allocations: 15.98 kB / 449.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.2664, allocations: 15.98 kB / 449.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005502/0.267, allocations: 0.5422 MB / 449.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.267, allocations: 0 / 449.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006434/0.2676, allocations: 195.8 kB / 449.9 MB, free: 14.87 MB / 330.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 (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.0004659/0.2681, allocations: 295.4 kB / 450.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.2687, allocations: 283.2 kB / 450.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2687, allocations: 0 / 450.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.2689, allocations: 171.4 kB / 450.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007349/0.2697, allocations: 155.1 kB / 450.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.2716, allocations: 1.635 MB / 452.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.272, allocations: 0.9455 MB / 453.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003628/0.2723, allocations: 106.7 kB / 453.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.2724, allocations: 51.44 kB / 453.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2724, allocations: 0 / 453.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Templates: time 0.01567/0.2881, allocations: 8.963 MB / 462.4 MB, free: 2.23 MB / 330.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@2/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