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.001409/0.001409, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001465/0.001465, allocations: 213.7 kB / 23 MB, free: 5.609 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.46/1.46, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.00188/0.00188, allocations: 67.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2616, allocations: 53.32 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00655/0.2681, allocations: 5.323 MB / 435.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.2796, allocations: 9.161 MB / 444.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007667/0.2804, allocations: 35.69 kB / 444.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.2816, allocations: 402.9 kB / 444.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.2843, allocations: 0.838 MB / 445.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.2861, allocations: 0.6065 MB / 446.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.2888, allocations: 1.72 MB / 447.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.289, allocations: 103 kB / 448 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.2895, allocations: 318.6 kB / 448.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.2899, allocations: 321.9 kB / 448.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.2899, allocations: 28 kB / 448.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.2915, allocations: 0.6594 MB / 449.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2916, allocations: 107.3 kB / 449.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.292, allocations: 409.5 kB / 449.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.2937, allocations: 1.221 MB / 451 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2937, allocations: 0 / 451 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2937, allocations: 0 / 451 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2937, allocations: 0 / 451 MB, free: 2.258 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.001953/0.2957, allocations: 1.309 MB / 452.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2957, allocations: 8.031 kB / 452.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.296, allocations: 140.2 kB / 452.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2973, allocations: 0.8608 MB / 453.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2973, allocations: 20.56 kB / 453.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.2973, allocations: 24 kB / 453.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.2979, allocations: 315.5 kB / 453.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2979, allocations: 0 / 453.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.2979, allocations: 12 kB / 453.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2979, allocations: 8 kB / 453.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.2984, allocations: 230.1 kB / 453.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.3002, allocations: 1.194 MB / 455.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.3006, allocations: 170.7 kB / 455.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.3009, allocations: 197.2 kB / 455.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009289/0.3102, allocations: 8.878 MB / 464.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.3102, allocations: 38.56 kB / 464.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.824e-06/0.3102, allocations: 4 kB / 464.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001661/0.3119, allocations: 0.6541 MB / 465 MB, free: 2.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.3119, allocations: 85.05 kB / 465.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.313, allocations: 0.7948 MB / 465.9 MB, free: 1.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.313, allocations: 33.7 kB / 466 MB, free: 1.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.3135, allocations: 445 kB / 466.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.3136, allocations: 79.28 kB / 466.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3137, allocations: 61.92 kB / 466.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3138, allocations: 313.9 kB / 466.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.314, allocations: 68.2 kB / 466.9 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3142, allocations: 149.9 kB / 467 MB, free: 428 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.3145, allocations: 220.5 kB / 467.3 MB, free: 176 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3145, allocations: 4 kB / 467.3 MB, free: 172 kB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006423/0.3152, allocations: 414.8 kB / 467.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3152, allocations: 8 kB / 467.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/0.3152, allocations: 12 kB / 467.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.3156, allocations: 147.8 kB / 467.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3158, allocations: 39.98 kB / 467.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007401/0.3165, allocations: 0.7121 MB / 468.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3167, allocations: 31.84 kB / 468.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.3168, allocations: 12 kB / 468.6 MB, free: 14.77 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.0002451/0.317, allocations: 193.8 kB / 468.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3171, allocations: 107.3 kB / 468.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/0.318, allocations: 399.3 kB / 469.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.318, allocations: 4 kB / 469.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.318, allocations: 3.938 kB / 469.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.318, allocations: 3.938 kB / 469.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.3186, allocations: 0.5074 MB / 469.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/0.3186, allocations: 12 kB / 469.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3188, allocations: 15.98 kB / 469.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.319, allocations: 144.6 kB / 470 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3191, allocations: 8 kB / 470 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006254/0.3197, allocations: 0.6994 MB / 470.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3197, allocations: 4.062 kB / 470.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005994/0.3203, allocations: 456.8 kB / 471.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.3205, allocations: 180.4 kB / 471.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.3206, allocations: 4 kB / 471.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3208, allocations: 7.984 kB / 471.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.3208, allocations: 15.98 kB / 471.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3209, allocations: 15.98 kB / 471.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007057/0.3216, allocations: 0.5461 MB / 471.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3216, allocations: 0 / 471.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007239/0.3223, allocations: 195.7 kB / 472.1 MB, free: 11.14 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.0005533/0.3228, allocations: 295.2 kB / 472.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.3234, allocations: 270.7 kB / 472.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3234, allocations: 3.938 kB / 472.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.3238, allocations: 171.3 kB / 472.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.3245, allocations: 164.4 kB / 473 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.3264, allocations: 1.25 MB / 474.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.327, allocations: 0.9374 MB / 475.2 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.3273, allocations: 110.6 kB / 475.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.3274, allocations: 59.42 kB / 475.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3274, allocations: 0 / 475.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of Templates: time 0.01895/0.3464, allocations: 9.338 MB / 484.7 MB, free: 14.54 MB / 398.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/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_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: 4.7313041454181075]