Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 80.75 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 154.8 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 1.688 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.983e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004404/0.004423, allocations: 4.628 MB / 323.5 MB, free: 456 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.0153, allocations: 7.84 MB / 331.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.01607, allocations: 56.94 kB / 331.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.01718, allocations: 349.2 kB / 331.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.02038, allocations: 0.8853 MB / 332.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.02249, allocations: 0.6082 MB / 333.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.02576, allocations: 1.738 MB / 335 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.02603, allocations: 101.6 kB / 335.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.02666, allocations: 456.2 kB / 335.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.02704, allocations: 230.7 kB / 335.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.02711, allocations: 29.75 kB / 335.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.02856, allocations: 0.5649 MB / 336.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.02868, allocations: 103.6 kB / 336.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.029, allocations: 226.5 kB / 336.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.03067, allocations: 1.238 MB / 337.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.03068, allocations: 0 / 337.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03068, allocations: 0 / 337.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.03069, allocations: 3.938 kB / 337.9 MB, free: 7.602 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.002069/0.03276, allocations: 1.226 MB / 339.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.0328, allocations: 10.2 kB / 339.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.03299, allocations: 121 kB / 339.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.0343, allocations: 0.7807 MB / 340.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.03432, allocations: 15.19 kB / 340.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.03438, allocations: 27.09 kB / 340.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.03495, allocations: 339.2 kB / 340.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.03496, allocations: 1.812 kB / 340.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.035, allocations: 9.062 kB / 340.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.03501, allocations: 10.59 kB / 340.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.03544, allocations: 238.8 kB / 340.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.03723, allocations: 1.04 MB / 341.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.03765, allocations: 174.7 kB / 341.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.03799, allocations: 189.3 kB / 342.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006768/0.04476, allocations: 3.08 MB / 345.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.04479, allocations: 42.55 kB / 345.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.0448, allocations: 0 / 345.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001652/0.04645, allocations: 0.579 MB / 345.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.04652, allocations: 93 kB / 345.9 MB, free: 440 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/0.04743, allocations: 0.7781 MB / 346.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.04746, allocations: 29.7 kB / 346.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.04785, allocations: 440.8 kB / 347.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/0.04793, allocations: 91.19 kB / 347.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.04803, allocations: 57.89 kB / 347.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.04818, allocations: 314 kB / 347.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.04834, allocations: 76.19 kB / 347.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.04857, allocations: 167.6 kB / 347.8 MB, free: 14.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.04894, allocations: 227.5 kB / 348 MB, free: 14.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.04894, allocations: 0 / 348 MB, free: 14.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007147/0.04966, allocations: 409.4 kB / 348.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.04967, allocations: 8 kB / 348.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.0497, allocations: 15.98 kB / 348.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.05009, allocations: 141.1 kB / 348.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.05026, allocations: 35.97 kB / 348.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006964/0.05096, allocations: 0.7033 MB / 349.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.0512, allocations: 23.84 kB / 349.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.05124, allocations: 15.98 kB / 349.4 MB, free: 12.8 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.0002427/0.05148, allocations: 201.7 kB / 349.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.05162, allocations: 107.3 kB / 349.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.05241, allocations: 395.4 kB / 350.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.05242, allocations: 4 kB / 350.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.05243, allocations: 3.938 kB / 350.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.05243, allocations: 7.922 kB / 350.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.05299, allocations: 422.3 kB / 350.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.05301, allocations: 16 kB / 350.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.05313, allocations: 19.92 kB / 350.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.05341, allocations: 139.5 kB / 350.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.05343, allocations: 4 kB / 350.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006863/0.05412, allocations: 0.7085 MB / 351.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.05412, allocations: 0 / 351.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.05474, allocations: 458.7 kB / 351.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.05491, allocations: 103.2 kB / 351.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.05499, allocations: 4 kB / 351.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.05521, allocations: 8 kB / 351.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.05526, allocations: 11.97 kB / 351.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.05529, allocations: 15.98 kB / 352 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006453/0.05593, allocations: 0.5261 MB / 352.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05593, allocations: 4.062 kB / 352.5 MB, free: 9.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.05648, allocations: 195.6 kB / 352.7 MB, free: 9.383 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.000532/0.05701, allocations: 307.3 kB / 353 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.05758, allocations: 263.2 kB / 353.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.05758, allocations: 0.5625 kB / 353.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.0579, allocations: 175.3 kB / 353.4 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.05866, allocations: 152.2 kB / 353.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.06051, allocations: 1.212 MB / 354.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.06083, allocations: 353.2 kB / 355.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.06111, allocations: 110.7 kB / 355.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.06118, allocations: 52.44 kB / 355.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.06118, allocations: 0 / 355.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of Templates: time 0.0173/0.07848, allocations: 8.611 MB / 363.9 MB, free: 14.2 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.447354264557362]