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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001768/0.001768, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002523/0.002523, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2417, allocations: 53.4 MB / 432.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006645/0.2483, allocations: 5.332 MB / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.2601, allocations: 9.167 MB / 446.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007658/0.2609, allocations: 59.31 kB / 447 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2619, allocations: 393.5 kB / 447.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.2646, allocations: 0.8497 MB / 448.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.2665, allocations: 0.5987 MB / 448.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.2694, allocations: 1.729 MB / 450.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.2697, allocations: 107.3 kB / 450.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.2702, allocations: 322.6 kB / 451 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.2708, allocations: 321.9 kB / 451.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.2708, allocations: 32 kB / 451.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.2725, allocations: 0.6672 MB / 452 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2726, allocations: 103.3 kB / 452.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.273, allocations: 405.5 kB / 452.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.2748, allocations: 1.221 MB / 453.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2748, allocations: 0 / 453.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.2748, allocations: 3.984 kB / 453.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.2749, allocations: 0 / 453.7 MB, free: 1.414 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.002154/0.277, allocations: 1.234 MB / 454.9 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2771, allocations: 12.03 kB / 454.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.2774, allocations: 132.2 kB / 455.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.2787, allocations: 0.7888 MB / 455.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2787, allocations: 16.5 kB / 455.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.2788, allocations: 31.95 kB / 455.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.2793, allocations: 307.8 kB / 456.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2793, allocations: 0 / 456.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.2793, allocations: 8 kB / 456.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2794, allocations: 11.98 kB / 456.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.2798, allocations: 242 kB / 456.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2817, allocations: 1.14 MB / 457.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.282, allocations: 182.5 kB / 457.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.2824, allocations: 200.7 kB / 458 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006946/0.2893, allocations: 3.119 MB / 461.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2893, allocations: 30.56 kB / 461.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.686e-06/0.2893, allocations: 0 / 461.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001646/0.291, allocations: 0.5825 MB / 461.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.291, allocations: 85.11 kB / 461.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.292, allocations: 0.7948 MB / 462.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.292, allocations: 25.7 kB / 462.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.2924, allocations: 449 kB / 463.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.2925, allocations: 79.34 kB / 463.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.2926, allocations: 57.89 kB / 463.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2928, allocations: 321.9 kB / 463.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2929, allocations: 68.2 kB / 463.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.2931, allocations: 145.8 kB / 463.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.2935, allocations: 233.1 kB / 463.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2935, allocations: 4 kB / 463.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006582/0.2942, allocations: 409.4 kB / 464.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2942, allocations: 4 kB / 464.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.2942, allocations: 16 kB / 464.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.2946, allocations: 143.1 kB / 464.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.2948, allocations: 36.16 kB / 464.5 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007058/0.2955, allocations: 0.7084 MB / 465.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.2957, allocations: 27.77 kB / 465.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.2958, allocations: 23.94 kB / 465.3 MB, free: 5.438 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.0002549/0.296, allocations: 193.9 kB / 465.5 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2962, allocations: 111.3 kB / 465.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000822/0.297, allocations: 406.1 kB / 466 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.297, allocations: 0 / 466 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.297, allocations: 0 / 466 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.297, allocations: 4 kB / 466 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.2976, allocations: 494.6 kB / 466.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/0.2977, allocations: 12 kB / 466.5 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.2978, allocations: 15.98 kB / 466.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.2981, allocations: 148.6 kB / 466.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.2981, allocations: 15.94 kB / 466.7 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006519/0.2987, allocations: 0.6915 MB / 467.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2987, allocations: 0 / 467.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.2993, allocations: 452.4 kB / 467.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.2995, allocations: 103.2 kB / 467.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.2996, allocations: 0 / 467.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2998, allocations: 8 kB / 467.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.2999, allocations: 19.92 kB / 467.9 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.2999, allocations: 12 kB / 467.9 MB, free: 2.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006723/0.3006, allocations: 0.5344 MB / 468.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3006, allocations: 4 kB / 468.5 MB, free: 2.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000584/0.3012, allocations: 203.6 kB / 468.7 MB, free: 1.941 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.0005042/0.3017, allocations: 295.3 kB / 469 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.3023, allocations: 267.3 kB / 469.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3023, allocations: 0 / 469.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.3026, allocations: 171.8 kB / 469.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.3033, allocations: 164.2 kB / 469.6 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3054, allocations: 1.287 MB / 470.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.3061, allocations: 0.9413 MB / 471.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.3062, allocations: 51.42 kB / 471.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3062, allocations: 0 / 471.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02136/0.3275, allocations: 14.49 MB / 486.3 MB, free: 224 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.17900941404514]