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.001792/0.001792, allocations: 117.9 kB / 18.45 MB, free: 4.609 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.002174/0.002174, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.383/1.383, allocations: 207.6 MB / 231.8 MB, free: 4.188 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 56.55 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1232, allocations: 49.13 MB / 391.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.009257/0.1325, allocations: 5.159 MB / 396.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.1481, allocations: 8.7 MB / 405.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.149, allocations: 59.31 kB / 405.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.1504, allocations: 397.4 kB / 405.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.1536, allocations: 0.8185 MB / 406.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.156, allocations: 0.583 MB / 407.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003852/0.1598, allocations: 1.654 MB / 408.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.1601, allocations: 107 kB / 408.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005667/0.1607, allocations: 294.6 kB / 409.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.1613, allocations: 318 kB / 409.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.1613, allocations: 28 kB / 409.5 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.1634, allocations: 0.5621 MB / 410.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1635, allocations: 111.2 kB / 410.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006185/0.1642, allocations: 401.5 kB / 410.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.1667, allocations: 1.21 MB / 411.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1667, allocations: 4 kB / 411.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1667, allocations: 0 / 411.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1668, allocations: 0 / 411.8 MB, free: 4.258 MB / 334.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.002797/0.1695, allocations: 1.306 MB / 413.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1696, allocations: 8.031 kB / 413.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.591e-05/0.1697, allocations: 66.72 kB / 413.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.1699, allocations: 120.2 kB / 413.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.1717, allocations: 0.8679 MB / 414.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1717, allocations: 16.56 kB / 414.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.1718, allocations: 24 kB / 414.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.1726, allocations: 311.6 kB / 414.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1726, allocations: 0 / 414.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.1726, allocations: 12 kB / 414.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1727, allocations: 4 kB / 414.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.1733, allocations: 238.1 kB / 414.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.176, allocations: 1.187 MB / 415.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.1764, allocations: 178.5 kB / 416.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.1769, allocations: 190.2 kB / 416.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/0.1897, allocations: 8.573 MB / 424.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1898, allocations: 30.56 kB / 424.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/0.1898, allocations: 0 / 424.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.002367/0.1921, allocations: 0.6548 MB / 425.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.1922, allocations: 81.11 kB / 425.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.1935, allocations: 0.8064 MB / 426.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.1936, allocations: 29.7 kB / 426.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.1941, allocations: 449 kB / 426.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.1941, allocations: 83.27 kB / 427 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.1943, allocations: 53.94 kB / 427 MB, free: 3.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1945, allocations: 321.9 kB / 427.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.1947, allocations: 64.2 kB / 427.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.195, allocations: 149.8 kB / 427.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.1955, allocations: 232.5 kB / 427.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1955, allocations: 0 / 427.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001002/0.1965, allocations: 406 kB / 428.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1965, allocations: 4 kB / 428.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.1966, allocations: 16 kB / 428.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.1971, allocations: 148.9 kB / 428.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1974, allocations: 31.97 kB / 428.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009131/0.1983, allocations: 0.7122 MB / 429.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.1986, allocations: 35.8 kB / 429.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1986, allocations: 16 kB / 429.1 MB, free: 1.098 MB / 350.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.0002734/0.1989, allocations: 201.8 kB / 429.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.199, allocations: 111.3 kB / 429.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.1998, allocations: 395.4 kB / 429.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1998, allocations: 0 / 429.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1998, allocations: 0 / 429.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1998, allocations: 3.984 kB / 429.8 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.2005, allocations: 0.5112 MB / 430.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/0.2005, allocations: 15.94 kB / 430.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2006, allocations: 23.97 kB / 430.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.2009, allocations: 136.8 kB / 430.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.2009, allocations: 4 kB / 430.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006538/0.2016, allocations: 0.6973 MB / 431.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2016, allocations: 0 / 431.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.2022, allocations: 468.2 kB / 431.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.2025, allocations: 172.4 kB / 431.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.2025, allocations: 4 kB / 431.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2027, allocations: 11.98 kB / 431.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.2028, allocations: 15.92 kB / 431.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.2028, allocations: 8 kB / 431.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006581/0.2035, allocations: 0.5423 MB / 432.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2035, allocations: 4 kB / 432.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.204, allocations: 191.7 kB / 432.6 MB, free: 13.48 MB / 366.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.001363/0.2054, allocations: 1.181 MB / 433.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.206, allocations: 279.6 kB / 434.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.206, allocations: 0 / 434.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.2063, allocations: 163.3 kB / 434.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.2069, allocations: 148.8 kB / 434.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.2136, allocations: 5.313 MB / 439.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.2142, allocations: 0.9413 MB / 440.6 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.2145, allocations: 110.7 kB / 440.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.2148, allocations: 307.3 kB / 441 MB, free: 4.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2148, allocations: 0 / 441 MB, free: 4.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.2623, allocations: 18.4 MB / 459.4 MB, free: 2.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.59, allocations: 7.906 kB / 459.4 MB, free: 2.285 MB / 382.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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: 17.146759426002973]