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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2462, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00608/0.2524, allocations: 5.289 MB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.2627, allocations: 9.115 MB / 424.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.2634, allocations: 43.69 kB / 424.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.2645, allocations: 394.7 kB / 424.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.267, allocations: 0.8302 MB / 425.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.2688, allocations: 0.5909 MB / 426.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.2713, allocations: 1.724 MB / 427.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.2716, allocations: 163 kB / 428.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.2721, allocations: 302.6 kB / 428.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.2724, allocations: 333.9 kB / 428.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.2725, allocations: 32 kB / 428.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.2739, allocations: 0.6555 MB / 429.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2741, allocations: 107.3 kB / 429.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.2744, allocations: 405.5 kB / 429.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.2759, allocations: 1.215 MB / 431.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2759, allocations: 0 / 431.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.299e-06/0.2759, allocations: 4 kB / 431.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.2759, allocations: 3.938 kB / 431.1 MB, free: 12.29 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.001851/0.2778, allocations: 1.267 MB / 432.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2778, allocations: 8.031 kB / 432.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.2781, allocations: 123.6 kB / 432.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2792, allocations: 0.8598 MB / 433.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2793, allocations: 20.5 kB / 433.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.2793, allocations: 24 kB / 433.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.2798, allocations: 307.6 kB / 433.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2798, allocations: 4 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.2799, allocations: 8 kB / 433.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2799, allocations: 11.98 kB / 433.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2803, allocations: 230.2 kB / 433.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.282, allocations: 1.194 MB / 435.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.2824, allocations: 198.6 kB / 435.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.2827, allocations: 225.2 kB / 435.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008441/0.2911, allocations: 8.87 MB / 444.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2912, allocations: 30.56 kB / 444.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.2912, allocations: 3.938 kB / 444.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.00157/0.2928, allocations: 0.6582 MB / 445.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.2929, allocations: 81.11 kB / 445.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.2937, allocations: 0.8026 MB / 446 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2938, allocations: 29.7 kB / 446 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.2941, allocations: 436.7 kB / 446.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.2942, allocations: 86.77 kB / 446.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.2943, allocations: 57.84 kB / 446.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2944, allocations: 325.9 kB / 446.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.2945, allocations: 64.2 kB / 447 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2947, allocations: 145.9 kB / 447.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.2951, allocations: 235.7 kB / 447.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2951, allocations: 4 kB / 447.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000588/0.2957, allocations: 415.1 kB / 447.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2957, allocations: 4 kB / 447.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.2957, allocations: 15.98 kB / 447.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.2961, allocations: 144.2 kB / 447.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2963, allocations: 31.97 kB / 447.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006101/0.2969, allocations: 0.7044 MB / 448.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2972, allocations: 31.67 kB / 448.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.2972, allocations: 16.06 kB / 448.7 MB, free: 8.816 MB / 366.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.0002291/0.2974, allocations: 197.7 kB / 448.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2976, allocations: 102.9 kB / 449 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.2983, allocations: 415.2 kB / 449.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2983, allocations: 7.984 kB / 449.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2983, allocations: 0 / 449.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2983, allocations: 0 / 449.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.2989, allocations: 0.5073 MB / 449.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.2989, allocations: 12 kB / 449.9 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.299, allocations: 23.91 kB / 449.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.2993, allocations: 132.8 kB / 450.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2993, allocations: 11.94 kB / 450.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/0.2999, allocations: 0.7029 MB / 450.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2999, allocations: 0 / 450.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.3005, allocations: 460.4 kB / 451.2 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.3007, allocations: 171.8 kB / 451.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/0.3008, allocations: 11.98 kB / 451.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.301, allocations: 0 / 451.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3011, allocations: 15.98 kB / 451.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3011, allocations: 8 kB / 451.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005793/0.3017, allocations: 0.5462 MB / 452 MB, free: 5.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3017, allocations: 0 / 452 MB, free: 5.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005623/0.3022, allocations: 199.7 kB / 452.2 MB, free: 5.188 MB / 366.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.0004766/0.3027, allocations: 303 kB / 452.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005508/0.3033, allocations: 284.1 kB / 452.7 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3033, allocations: 4.062 kB / 452.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.3036, allocations: 182 kB / 452.9 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.3043, allocations: 160.2 kB / 453.1 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3061, allocations: 1.245 MB / 454.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.3066, allocations: 0.9374 MB / 455.3 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/0.3067, allocations: 55.44 kB / 455.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3067, allocations: 3.938 kB / 455.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Templates: time 0.01868/0.3254, allocations: 14.46 MB / 469.8 MB, free: 3.508 MB / 382.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches