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.001111/0.001111, allocations: 80.06 kB / 21.43 MB, free: 3.117 MB / 18.57 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.005748/0.005748, allocations: 142.2 kB / 24.68 MB, free: 8.922 MB / 18.57 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 0.8293/0.8293, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.664e-05, allocations: 5.516 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003608/0.003635, allocations: 4.628 MB / 324.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005772/0.009407, allocations: 7.835 MB / 332.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.009682, allocations: 59.38 kB / 332.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.01019, allocations: 353.6 kB / 332.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.01129, allocations: 0.8726 MB / 333.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.012, allocations: 0.6062 MB / 334 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.01327, allocations: 1.748 MB / 335.8 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.01342, allocations: 103.4 kB / 335.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.01371, allocations: 450.8 kB / 336.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.01391, allocations: 235.1 kB / 336.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.01395, allocations: 32 kB / 336.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.01456, allocations: 0.5657 MB / 337.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.01462, allocations: 103.3 kB / 337.2 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.01476, allocations: 223.3 kB / 337.5 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009038/0.01566, allocations: 1.242 MB / 338.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01566, allocations: 0 / 338.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01567, allocations: 4 kB / 338.7 MB, free: 2.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.01567, allocations: 0 / 338.7 MB, free: 2.73 MB / 298.7 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.001082/0.01676, allocations: 1.219 MB / 339.9 MB, free: 1.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.01679, allocations: 8.922 kB / 339.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.01688, allocations: 120.2 kB / 340.1 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.01761, allocations: 0.7805 MB / 340.8 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.01763, allocations: 20.88 kB / 340.9 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.01767, allocations: 28.12 kB / 340.9 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.01799, allocations: 337.5 kB / 341.2 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.018, allocations: 0 / 341.2 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.01802, allocations: 12 kB / 341.2 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01803, allocations: 11.98 kB / 341.2 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.01829, allocations: 230.1 kB / 341.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.01926, allocations: 1.036 MB / 342.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.01949, allocations: 178.6 kB / 342.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.01968, allocations: 201.3 kB / 342.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003368/0.02305, allocations: 3.072 MB / 345.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.02307, allocations: 42.52 kB / 346 MB, free: 11.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.02307, allocations: 0 / 346 MB, free: 11.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009106/0.02398, allocations: 0.5797 MB / 346.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.02402, allocations: 77.11 kB / 346.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.02455, allocations: 0.782 MB / 347.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.02457, allocations: 29.7 kB / 347.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.02479, allocations: 444.8 kB / 347.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.02483, allocations: 79.27 kB / 348 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.02489, allocations: 61.89 kB / 348 MB, free: 9.137 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.02496, allocations: 322 kB / 348.3 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.02505, allocations: 68.19 kB / 348.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.02517, allocations: 171.5 kB / 348.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.02538, allocations: 226.9 kB / 348.8 MB, free: 8.293 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02538, allocations: 0 / 348.8 MB, free: 8.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003586/0.02574, allocations: 412.5 kB / 349.2 MB, free: 7.883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.02575, allocations: 7.938 kB / 349.2 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.02577, allocations: 24.27 kB / 349.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.02602, allocations: 136.8 kB / 349.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.0261, allocations: 31.92 kB / 349.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004213/0.02652, allocations: 0.7071 MB / 350.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.02664, allocations: 27.94 kB / 350.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.02666, allocations: 16 kB / 350.1 MB, free: 6.91 MB / 314.7 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.0001549/0.02682, allocations: 205.7 kB / 350.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.02688, allocations: 103.3 kB / 350.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.02733, allocations: 397.5 kB / 350.8 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.02734, allocations: 8 kB / 350.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.02734, allocations: 0 / 350.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.02735, allocations: 3.938 kB / 350.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.02767, allocations: 430.2 kB / 351.3 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.02768, allocations: 15.98 kB / 351.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.02773, allocations: 15.98 kB / 351.3 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.0279, allocations: 132.8 kB / 351.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.02791, allocations: 11.98 kB / 351.4 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003576/0.02827, allocations: 0.7123 MB / 352.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02827, allocations: 0 / 352.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.02859, allocations: 440.2 kB / 352.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.02869, allocations: 103.2 kB / 352.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.02872, allocations: 64 / 352.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.02883, allocations: 15.98 kB / 352.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.02886, allocations: 15.92 kB / 352.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.02887, allocations: 12 kB / 352.7 MB, free: 4.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004543/0.02933, allocations: 0.5261 MB / 353.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.02933, allocations: 0 / 353.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005721/0.0299, allocations: 199.6 kB / 353.4 MB, free: 3.5 MB / 314.7 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.0003595/0.03026, allocations: 311.3 kB / 353.7 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.03064, allocations: 267.2 kB / 354 MB, free: 2.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.03064, allocations: 0 / 354 MB, free: 2.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.03079, allocations: 163.3 kB / 354.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.03121, allocations: 167.2 kB / 354.3 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.03239, allocations: 1.266 MB / 355.6 MB, free: 1.281 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.03257, allocations: 341.3 kB / 355.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.03262, allocations: 52.5 kB / 356 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.03262, allocations: 4 kB / 356 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of Templates: time 0.0101/0.04272, allocations: 14.82 MB / 370.8 MB, free: 2.066 MB / 330.7 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.989496886730194]