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.001743/0.001743, allocations: 90.17 kB / 20.78 MB, free: 0.7188 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.001773/0.001773, allocations: 152.1 kB / 24.06 MB, free: 3.855 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.381/1.381, allocations: 173.3 MB / 200.6 MB, free: 12.82 MB / 190.1 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.783e-06/1.783e-06, allocations: 3.938 kB / 319.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.505e-05, allocations: 5.656 kB / 319.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004651/0.004676, allocations: 4.629 MB / 323.7 MB, free: 444 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.01564, allocations: 7.834 MB / 331.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/0.01639, allocations: 61.28 kB / 331.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.01748, allocations: 356.5 kB / 332 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.02061, allocations: 0.8774 MB / 332.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.02283, allocations: 0.6114 MB / 333.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.02614, allocations: 1.747 MB / 335.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.02644, allocations: 97.67 kB / 335.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000755/0.02719, allocations: 447.5 kB / 335.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.02756, allocations: 234.8 kB / 336 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.02763, allocations: 30.5 kB / 336 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.02937, allocations: 0.5619 MB / 336.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.02948, allocations: 106.4 kB / 336.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.02979, allocations: 229.3 kB / 336.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.03167, allocations: 1.238 MB / 338.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.03168, allocations: 0 / 338.1 MB, free: 7.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.03168, allocations: 4 kB / 338.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.03169, allocations: 1.25 kB / 338.1 MB, free: 7.566 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.002222/0.03392, allocations: 1.221 MB / 339.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.03396, allocations: 8.719 kB / 339.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.03414, allocations: 116.5 kB / 339.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.03552, allocations: 0.8793 MB / 340.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.03554, allocations: 19.03 kB / 340.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.03561, allocations: 28.59 kB / 340.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.03618, allocations: 339.1 kB / 340.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.03619, allocations: 0 / 340.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.03624, allocations: 10.88 kB / 340.8 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.03625, allocations: 9.656 kB / 340.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.03667, allocations: 231.7 kB / 341 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.03851, allocations: 1.048 MB / 342 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.0389, allocations: 182.6 kB / 342.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.03924, allocations: 197.2 kB / 342.4 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007026/0.04627, allocations: 3.314 MB / 345.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.0463, allocations: 34.56 kB / 345.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.04631, allocations: 0 / 345.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001664/0.04797, allocations: 0.5894 MB / 346.3 MB, free: 112 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.04803, allocations: 81.06 kB / 346.4 MB, free: 12 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.04907, allocations: 0.782 MB / 347.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.0491, allocations: 25.7 kB / 347.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.0495, allocations: 444.8 kB / 347.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.04957, allocations: 83.25 kB / 347.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.04968, allocations: 61.89 kB / 347.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.04983, allocations: 321.9 kB / 348.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.04998, allocations: 72.19 kB / 348.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.05022, allocations: 171.5 kB / 348.4 MB, free: 14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.0506, allocations: 223.9 kB / 348.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.05061, allocations: 0 / 348.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006809/0.05129, allocations: 409.4 kB / 349 MB, free: 13.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.0513, allocations: 4 kB / 349 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.05133, allocations: 20.28 kB / 349 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/0.05171, allocations: 140.8 kB / 349.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.05189, allocations: 31.92 kB / 349.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.05262, allocations: 0.7084 MB / 349.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.05293, allocations: 27.91 kB / 349.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.05296, allocations: 12 kB / 349.9 MB, free: 12.37 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.0002593/0.05322, allocations: 201.7 kB / 350.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.05336, allocations: 107.3 kB / 350.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.05416, allocations: 395.3 kB / 350.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.05417, allocations: 0 / 350.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.05417, allocations: 0 / 350.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.05418, allocations: 3.938 kB / 350.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.05475, allocations: 426.3 kB / 351 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.05477, allocations: 15.98 kB / 351 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.0549, allocations: 15.98 kB / 351.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002836/0.05518, allocations: 135.6 kB / 351.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.0552, allocations: 7.984 kB / 351.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000698/0.0559, allocations: 0.7122 MB / 351.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0559, allocations: 0 / 351.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.05654, allocations: 454.9 kB / 352.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.05672, allocations: 103.2 kB / 352.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/0.05682, allocations: 8 kB / 352.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.05703, allocations: 12.05 kB / 352.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.05709, allocations: 11.98 kB / 352.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.05711, allocations: 8 kB / 352.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006514/0.05776, allocations: 0.53 MB / 353 MB, free: 9.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05776, allocations: 3.938 kB / 353 MB, free: 9.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006295/0.05839, allocations: 199.6 kB / 353.2 MB, free: 8.961 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.0005377/0.05893, allocations: 303.9 kB / 353.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005824/0.05951, allocations: 259.2 kB / 353.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.05951, allocations: 3.938 kB / 353.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.05983, allocations: 171.3 kB / 353.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/0.06063, allocations: 160.7 kB / 354.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.0626, allocations: 1.215 MB / 355.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.06295, allocations: 349.2 kB / 355.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.06323, allocations: 106.7 kB / 355.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.06332, allocations: 52.5 kB / 355.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.06332, allocations: 0 / 355.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of Templates: time 0.01792/0.08124, allocations: 8.617 MB / 364.4 MB, free: 13.78 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.360483709722757]