Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 169.4 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.087e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005753/0.005774, allocations: 4.654 MB / 329.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.01641, allocations: 7.879 MB / 337.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005901/0.017, allocations: 62.19 kB / 337.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009025/0.01791, allocations: 360.2 kB / 338 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.02024, allocations: 0.8717 MB / 338.9 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.02166, allocations: 0.6096 MB / 339.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.02425, allocations: 1.784 MB / 341.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.02448, allocations: 99.33 kB / 341.4 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.02509, allocations: 458.8 kB / 341.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.02547, allocations: 231.2 kB / 342 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.02554, allocations: 32 kB / 342.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.02676, allocations: 0.5774 MB / 342.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.02686, allocations: 103.3 kB / 342.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.02716, allocations: 235.3 kB / 343 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.02874, allocations: 1.242 MB / 344.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02874, allocations: 0 / 344.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02874, allocations: 4 kB / 344.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.02875, allocations: 0 / 344.2 MB, free: 1.949 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.0019/0.03065, allocations: 1.23 MB / 345.5 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.03068, allocations: 8.031 kB / 345.5 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.03098, allocations: 132.2 kB / 345.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.03224, allocations: 0.7728 MB / 346.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.03228, allocations: 20.88 kB / 346.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.03233, allocations: 36.08 kB / 346.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.03291, allocations: 337.5 kB / 346.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.03292, allocations: 0 / 346.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.03295, allocations: 12 kB / 346.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.03296, allocations: 4 kB / 346.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.03342, allocations: 238 kB / 347 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.03513, allocations: 1.029 MB / 348 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.0355, allocations: 170.7 kB / 348.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.03584, allocations: 201 kB / 348.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006595/0.04243, allocations: 3.114 MB / 351.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.04247, allocations: 38.56 kB / 351.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.04247, allocations: 0 / 351.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001661/0.04413, allocations: 0.5708 MB / 352.1 MB, free: 9.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.0442, allocations: 85.05 kB / 352.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.04511, allocations: 0.782 MB / 353 MB, free: 8.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.04514, allocations: 25.7 kB / 353 MB, free: 8.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.04553, allocations: 448.8 kB / 353.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.0456, allocations: 83.27 kB / 353.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.0457, allocations: 53.94 kB / 353.6 MB, free: 8.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.04584, allocations: 318 kB / 353.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.04599, allocations: 68.2 kB / 354 MB, free: 7.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.04622, allocations: 167.6 kB / 354.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.0466, allocations: 239.3 kB / 354.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0466, allocations: 0 / 354.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000656/0.04726, allocations: 409.5 kB / 354.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.04728, allocations: 14.92 kB / 354.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.04731, allocations: 20 kB / 354.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.04769, allocations: 132.8 kB / 354.9 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.04787, allocations: 35.91 kB / 354.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007377/0.0486, allocations: 0.7123 MB / 355.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.04884, allocations: 23.84 kB / 355.7 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.04888, allocations: 12 kB / 355.7 MB, free: 6.09 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.0002654/0.04914, allocations: 201.7 kB / 355.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.04928, allocations: 107.3 kB / 356 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008094/0.05008, allocations: 395.4 kB / 356.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.05009, allocations: 0 / 356.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.05009, allocations: 0 / 356.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.0501, allocations: 3.938 kB / 356.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.05065, allocations: 434 kB / 356.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.05067, allocations: 12 kB / 356.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.0508, allocations: 15.98 kB / 356.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.0511, allocations: 139.8 kB / 357 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.05112, allocations: 4 kB / 357 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006825/0.0518, allocations: 0.7123 MB / 357.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.0518, allocations: 3.984 kB / 357.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.05248, allocations: 455 kB / 358.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.05264, allocations: 99.3 kB / 358.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.05273, allocations: 12 kB / 358.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.05295, allocations: 4 kB / 358.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.05301, allocations: 15.97 kB / 358.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.05303, allocations: 8 kB / 358.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006564/0.05369, allocations: 0.53 MB / 358.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05369, allocations: 0 / 358.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005469/0.05423, allocations: 199.6 kB / 359 MB, free: 2.684 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.000542/0.05477, allocations: 315.2 kB / 359.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005925/0.05537, allocations: 274.5 kB / 359.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.05537, allocations: 0 / 359.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.05569, allocations: 171.3 kB / 359.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.05647, allocations: 156.7 kB / 359.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.05834, allocations: 1.2 MB / 361.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.05869, allocations: 341.3 kB / 361.4 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.05896, allocations: 110.7 kB / 361.5 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.05905, allocations: 56.38 kB / 361.6 MB, free: 16 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.05905, allocations: 4 kB / 361.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of Templates: time 0.01804/0.07708, allocations: 8.651 MB / 370.2 MB, free: 7.465 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.417803455144167]