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.001334/0.001334, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 208 kB / 19.25 MB, free: 3.898 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.439/1.439, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001953/0.001953, allocations: 69.7 kB / 307.9 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09568, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006659/0.1024, allocations: 5.302 MB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.261, allocations: 9.095 MB / 372.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.2617, allocations: 23.22 kB / 372.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.2628, allocations: 390.7 kB / 373.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.2656, allocations: 0.8357 MB / 374.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.2675, allocations: 0.5987 MB / 374.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.2704, allocations: 1.706 MB / 376.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.2707, allocations: 164.4 kB / 376.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.2713, allocations: 302.8 kB / 376.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.2717, allocations: 325.6 kB / 377.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2717, allocations: 30.16 kB / 377.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.2734, allocations: 0.6572 MB / 377.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.2735, allocations: 104.2 kB / 377.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.2739, allocations: 411.8 kB / 378.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.2755, allocations: 1.197 MB / 379.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2756, allocations: 0.5625 kB / 379.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2756, allocations: 1.562 kB / 379.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.2756, allocations: 0 / 379.5 MB, free: 8.125 MB / 302.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.002007/0.2776, allocations: 1.28 MB / 380.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2777, allocations: 8.438 kB / 380.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.278, allocations: 128.2 kB / 380.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.2791, allocations: 0.8522 MB / 381.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2791, allocations: 18.38 kB / 381.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.2792, allocations: 28.03 kB / 381.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.2797, allocations: 306.9 kB / 382.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2797, allocations: 0.6562 kB / 382.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.2797, allocations: 8.125 kB / 382.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2798, allocations: 14.92 kB / 382.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2802, allocations: 235.2 kB / 382.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.2818, allocations: 1.187 MB / 383.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.2822, allocations: 199.2 kB / 383.8 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.2825, allocations: 222.5 kB / 384 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008271/0.2908, allocations: 8.884 MB / 392.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.2908, allocations: 33.75 kB / 392.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.325e-06/0.2909, allocations: 3.938 kB / 392.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001746/0.2926, allocations: 0.6535 MB / 393.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.2927, allocations: 84.91 kB / 393.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.2937, allocations: 0.7989 MB / 394.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.2938, allocations: 30.98 kB / 394.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.2942, allocations: 444.5 kB / 394.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.2943, allocations: 74.31 kB / 395 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2944, allocations: 59.5 kB / 395 MB, free: 12.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2946, allocations: 319.7 kB / 395.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2947, allocations: 64.62 kB / 395.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.295, allocations: 157.8 kB / 395.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.2953, allocations: 234.4 kB / 395.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2954, allocations: 5.156 kB / 395.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007166/0.2961, allocations: 397.1 kB / 396.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2961, allocations: 10.42 kB / 396.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.2961, allocations: 17.59 kB / 396.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.2965, allocations: 147.5 kB / 396.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2967, allocations: 31.98 kB / 396.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007136/0.2975, allocations: 0.7084 MB / 397.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.2978, allocations: 32.61 kB / 397.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.2979, allocations: 16.47 kB / 397.2 MB, free: 10.73 MB / 318.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.0002957/0.2982, allocations: 194.3 kB / 397.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.2983, allocations: 102.9 kB / 397.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.2992, allocations: 416.5 kB / 397.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.2992, allocations: 9.25 kB / 397.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2993, allocations: 0 / 397.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2993, allocations: 1.375 kB / 397.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.3, allocations: 0.5059 MB / 398.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.3001, allocations: 11.09 kB / 398.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.3002, allocations: 17.44 kB / 398.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/0.3005, allocations: 147.4 kB / 398.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3006, allocations: 8.406 kB / 398.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006701/0.3012, allocations: 0.6996 MB / 399.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3012, allocations: 0 / 399.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3019, allocations: 463.2 kB / 399.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3022, allocations: 174.7 kB / 399.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/0.3023, allocations: 1.375 kB / 399.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3025, allocations: 6.75 kB / 399.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.3026, allocations: 13.61 kB / 399.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.3026, allocations: 10.88 kB / 399.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007028/0.3033, allocations: 0.5453 MB / 400.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.3033, allocations: 0 / 400.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000708/0.304, allocations: 198.8 kB / 400.6 MB, free: 8.367 MB / 318.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.0005728/0.3046, allocations: 301.8 kB / 400.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.3053, allocations: 277 kB / 401.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3053, allocations: 5.438 kB / 401.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3056, allocations: 186.6 kB / 401.4 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/0.3065, allocations: 163.5 kB / 401.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.3087, allocations: 1.259 MB / 402.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.3093, allocations: 0.9378 MB / 403.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.3093, allocations: 55.47 kB / 403.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3094, allocations: 0 / 403.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of Templates: time 0.02137/0.3307, allocations: 14.37 MB / 418.2 MB, free: 9.34 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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