Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009173/0.0009173, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000867/0.000867, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9121/0.9121, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.521e-05, allocations: 7.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003687/0.003702, allocations: 4.652 MB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.01035, allocations: 7.87 MB / 337 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.01081, allocations: 63.31 kB / 337.1 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006866/0.0115, allocations: 357.6 kB / 337.4 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.01315, allocations: 0.8726 MB / 338.3 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.01423, allocations: 0.6101 MB / 338.9 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.01588, allocations: 1.783 MB / 340.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.01609, allocations: 103.3 kB / 340.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.01655, allocations: 454.8 kB / 341.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.01677, allocations: 227.2 kB / 341.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.01681, allocations: 28 kB / 341.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/0.01756, allocations: 0.5774 MB / 342.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.01762, allocations: 103.3 kB / 342.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.01778, allocations: 235.3 kB / 342.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.01878, allocations: 1.246 MB / 343.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01878, allocations: 0 / 343.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01878, allocations: 4 kB / 343.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.01879, allocations: 0 / 343.7 MB, free: 12.64 MB / 314.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.00116/0.01995, allocations: 1.226 MB / 344.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.01999, allocations: 15.98 kB / 344.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.02005, allocations: 62.72 kB / 345 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.02024, allocations: 132.2 kB / 345.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.021, allocations: 0.7844 MB / 345.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.02102, allocations: 16.88 kB / 345.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.02105, allocations: 27.94 kB / 345.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.0214, allocations: 333.5 kB / 346.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.02141, allocations: 7.938 kB / 346.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.02143, allocations: 8 kB / 346.3 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.02144, allocations: 11.98 kB / 346.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.0217, allocations: 230.1 kB / 346.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.02277, allocations: 1.083 MB / 347.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.02304, allocations: 186.5 kB / 347.8 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.02324, allocations: 197.3 kB / 348 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003666/0.0269, allocations: 3.107 MB / 351.1 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.02692, allocations: 34.5 kB / 351.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.02692, allocations: 0 / 351.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001047/0.02797, allocations: 0.577 MB / 351.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.02801, allocations: 85.05 kB / 351.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.02859, allocations: 0.7987 MB / 352.6 MB, free: 3.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.02861, allocations: 29.7 kB / 352.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.02883, allocations: 441 kB / 353 MB, free: 2.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.02887, allocations: 83.31 kB / 353.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.02893, allocations: 53.94 kB / 353.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.029, allocations: 321.9 kB / 353.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.02909, allocations: 80.14 kB / 353.5 MB, free: 2.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.02921, allocations: 167.6 kB / 353.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.02943, allocations: 240.1 kB / 353.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.02943, allocations: 3.938 kB / 353.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003753/0.02981, allocations: 401.6 kB / 354.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02982, allocations: 8 kB / 354.3 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.02984, allocations: 12 kB / 354.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.03012, allocations: 145 kB / 354.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.03021, allocations: 39.97 kB / 354.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008813/0.03109, allocations: 0.7035 MB / 355.2 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.03121, allocations: 35.7 kB / 355.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.03124, allocations: 12 kB / 355.3 MB, free: 0.5938 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.0001682/0.03141, allocations: 201.8 kB / 355.5 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.03147, allocations: 107.3 kB / 355.6 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.03194, allocations: 387.6 kB / 356 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.03194, allocations: 4 kB / 356 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.03195, allocations: 11.92 kB / 356 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.03195, allocations: 0 / 356 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.03233, allocations: 462.6 kB / 356.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.03234, allocations: 16 kB / 356.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.0324, allocations: 23.91 kB / 356.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/0.03257, allocations: 124.8 kB / 356.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.03258, allocations: 16 kB / 356.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003632/0.03294, allocations: 0.7122 MB / 357.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.03294, allocations: 0 / 357.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.0333, allocations: 460.1 kB / 357.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.0334, allocations: 95.33 kB / 357.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.03344, allocations: 4 kB / 357.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.03354, allocations: 7.984 kB / 357.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.03359, allocations: 24.05 kB / 357.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.0336, allocations: 8 kB / 357.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003932/0.03399, allocations: 0.5423 MB / 358.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03399, allocations: 0 / 358.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.03435, allocations: 195.6 kB / 358.6 MB, free: 13.12 MB / 330.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.0008455/0.0352, allocations: 1.193 MB / 359.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.03555, allocations: 278.8 kB / 360.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.03555, allocations: 0 / 360.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.03569, allocations: 167.3 kB / 360.3 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.03612, allocations: 164.6 kB / 360.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.04065, allocations: 5.318 MB / 365.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.04084, allocations: 353.3 kB / 366.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.04102, allocations: 110.7 kB / 366.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.04123, allocations: 312.4 kB / 366.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04123, allocations: 4 kB / 366.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.06909, allocations: 18.98 MB / 385.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.189, allocations: 8.047 kB / 385.5 MB, free: 2.176 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Spice3_Examples_CascodeCircuit.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv","/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J2.D.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable RC.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable RC.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! Error: Could not read variable J1.D.v in file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv. Warning: Get data of variable J1.D.v from file Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.975354684516788]