Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001262/0.001262, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004703/0.004703, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8358/0.8358, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.626e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.1353/0.1353, allocations: 4.513 MB / 303 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.1418, allocations: 7.497 MB / 310.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.1422, allocations: 57.25 kB / 310.5 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007769/0.143, allocations: 348.7 kB / 310.8 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1445, allocations: 0.8501 MB / 311.7 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1457, allocations: 0.5997 MB / 312.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1474, allocations: 1.7 MB / 314 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.1476, allocations: 105.3 kB / 314.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.1481, allocations: 421.7 kB / 314.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1483, allocations: 219.5 kB / 314.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.1484, allocations: 30.25 kB / 314.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/0.1492, allocations: 0.53 MB / 315.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.1492, allocations: 96.38 kB / 315.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.1494, allocations: 235 kB / 315.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.1507, allocations: 1.237 MB / 316.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1507, allocations: 0 / 316.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1507, allocations: 1.156 kB / 316.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.1507, allocations: 0 / 316.8 MB, free: 6.152 MB / 282.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.001508/0.1522, allocations: 1.226 MB / 318.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1523, allocations: 14.69 kB / 318.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.1523, allocations: 61.42 kB / 318.1 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1525, allocations: 122.3 kB / 318.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/0.1534, allocations: 0.7875 MB / 319.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1534, allocations: 18.12 kB / 319.1 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.1534, allocations: 24.84 kB / 319.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.1538, allocations: 333.7 kB / 319.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1538, allocations: 0 / 319.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1538, allocations: 10.97 kB / 319.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1538, allocations: 8.234 kB / 319.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.1541, allocations: 238.5 kB / 319.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1554, allocations: 1.097 MB / 320.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1556, allocations: 175.4 kB / 320.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.1558, allocations: 199.7 kB / 321.1 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003916/0.1598, allocations: 3.069 MB / 324.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1598, allocations: 41.23 kB / 324.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.1598, allocations: 0 / 324.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009828/0.1608, allocations: 0.5786 MB / 324.8 MB, free: 1.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1608, allocations: 79.33 kB / 324.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.1614, allocations: 0.802 MB / 325.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1614, allocations: 35.02 kB / 325.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1616, allocations: 444 kB / 326.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1616, allocations: 83.7 kB / 326.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.1617, allocations: 55.41 kB / 326.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.651e-05/0.1617, allocations: 324 kB / 326.6 MB, free: 392 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.1618, allocations: 68.69 kB / 326.7 MB, free: 360 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1619, allocations: 168.3 kB / 326.9 MB, free: 200 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1621, allocations: 235.1 kB / 327.1 MB, free: 24 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1621, allocations: 1.531 kB / 327.1 MB, free: 24 kB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004322/0.1625, allocations: 414.2 kB / 327.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1626, allocations: 9.078 kB / 327.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.1626, allocations: 19.72 kB / 327.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.1628, allocations: 131.9 kB / 327.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.1629, allocations: 37.09 kB / 327.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004641/0.1634, allocations: 0.7096 MB / 328.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1635, allocations: 31.78 kB / 328.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1636, allocations: 19.84 kB / 328.4 MB, free: 15.09 MB / 298.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.0001698/0.1637, allocations: 190.7 kB / 328.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.1638, allocations: 106.4 kB / 328.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.1643, allocations: 407.6 kB / 329.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1643, allocations: 2.531 kB / 329.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1643, allocations: 0 / 329.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1643, allocations: 0 / 329.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.1647, allocations: 468.8 kB / 329.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.1647, allocations: 15.33 kB / 329.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.1648, allocations: 17.05 kB / 329.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.165, allocations: 139.2 kB / 329.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.165, allocations: 16.92 kB / 329.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/0.1654, allocations: 0.6951 MB / 330.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1654, allocations: 1.094 kB / 330.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.1658, allocations: 459 kB / 330.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1659, allocations: 98.36 kB / 331 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1659, allocations: 6.703 kB / 331 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.166, allocations: 7.125 kB / 331 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1661, allocations: 14.16 kB / 331 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1661, allocations: 16.92 kB / 331.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004119/0.1665, allocations: 0.5372 MB / 331.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1665, allocations: 0 / 331.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.1669, allocations: 192.4 kB / 331.8 MB, free: 12.81 MB / 298.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.0008713/0.1677, allocations: 1.209 MB / 333 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.1681, allocations: 259.2 kB / 333.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1681, allocations: 0 / 333.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1683, allocations: 167.8 kB / 333.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1687, allocations: 149.9 kB / 333.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.1733, allocations: 5.315 MB / 338.9 MB, free: 5.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1735, allocations: 349.4 kB / 339.2 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1737, allocations: 110.7 kB / 339.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.1739, allocations: 312.4 kB / 339.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1739, allocations: 0 / 339.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.2024, allocations: 18.95 MB / 358.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.67, allocations: 4.203 kB / 358.6 MB, free: 1.68 MB / 314.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0002 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.D.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J2.D.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable RC.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable RC.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable J1.D.v in file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J1.D.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.305639320984483]