Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001403/0.001403, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001398/0.001398, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.471/1.471, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1141, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003364/0.1174, allocations: 2.158 MB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.1184, allocations: 0.5727 MB / 429.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.1185, allocations: 4 kB / 429.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1187, allocations: 31.7 kB / 429.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1188, allocations: 59.48 kB / 429.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.119, allocations: 51.94 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1192, allocations: 239 kB / 429.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1194, allocations: 57.66 kB / 429.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1195, allocations: 91.69 kB / 429.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1197, allocations: 99.61 kB / 429.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1197, allocations: 20 kB / 429.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.815e-05/0.1197, allocations: 24 kB / 429.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.1198, allocations: 43.91 kB / 429.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1199, allocations: 99.53 kB / 429.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1202, allocations: 243.1 kB / 430.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1202, allocations: 4 kB / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1202, allocations: 0 / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1202, allocations: 0 / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007904/0.121, allocations: 494.6 kB / 430.6 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.121, allocations: 8.031 kB / 430.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.58e-05/0.1211, allocations: 54.67 kB / 430.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1211, allocations: 24.8 kB / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1214, allocations: 229.9 kB / 430.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1214, allocations: 16.38 kB / 430.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1215, allocations: 16.38 kB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2162/0.3377, allocations: 174.9 kB / 431.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3377, allocations: 0.9688 kB / 431.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.3378, allocations: 7 kB / 431.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3378, allocations: 4.5 kB / 431.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.3381, allocations: 142 kB / 431.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3394, allocations: 0.7497 MB / 432 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.3399, allocations: 150.6 kB / 432.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.34, allocations: 84.23 kB / 432.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3401, allocations: 1.906 kB / 432.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3401, allocations: 35.88 kB / 432.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.3401, allocations: 2.625 kB / 432.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004971/0.3406, allocations: 186.6 kB / 432.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3406, allocations: 53.28 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3407, allocations: 158.3 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3407, allocations: 27.27 kB / 432.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.3408, allocations: 133.2 kB / 432.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.3408, allocations: 49.09 kB / 432.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.3409, allocations: 31.03 kB / 432.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.3409, allocations: 323.7 kB / 433.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3411, allocations: 54.44 kB / 433.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3412, allocations: 75.98 kB / 433.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.3414, allocations: 126.8 kB / 433.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3414, allocations: 0 / 433.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002873/0.3417, allocations: 183 kB / 433.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3417, allocations: 4.688 kB / 433.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3417, allocations: 0 / 433.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3418, allocations: 7.031 kB / 433.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.342, allocations: 39.47 kB / 433.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.342, allocations: 6.312 kB / 433.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.3421, allocations: 17.55 kB / 433.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3421, allocations: 4.469 kB / 433.7 MB, free: 9.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.3422, allocations: 126.6 kB / 433.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3422, allocations: 17.31 kB / 433.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.3423, allocations: 21.45 kB / 433.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3423, allocations: 1.469 kB / 433.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3423, allocations: 1.906 kB / 433.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3423, allocations: 2.672 kB / 433.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3425, allocations: 264.7 kB / 434.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3425, allocations: 2.969 kB / 434.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3427, allocations: 42.56 kB / 434.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3427, allocations: 4.938 kB / 434.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3427, allocations: 1.156 kB / 434.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3427, allocations: 3.531 kB / 434.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3427, allocations: 0 / 434.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.3432, allocations: 297.2 kB / 434.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3432, allocations: 92.78 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3433, allocations: 5.016 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3434, allocations: 13.42 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.3435, allocations: 9.094 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3435, allocations: 2.219 kB / 434.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.3436, allocations: 122.8 kB / 434.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3436, allocations: 3.828 kB / 434.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.3438, allocations: 54.22 kB / 434.8 MB, free: 9.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00068/0.3445, allocations: 0.8377 MB / 435.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3449, allocations: 118.9 kB / 435.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3449, allocations: 1.156 kB / 435.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.345, allocations: 60.48 kB / 435.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3454, allocations: 32.14 kB / 435.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.3479, allocations: 2.05 MB / 437.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.348, allocations: 0.7238 MB / 438.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.3481, allocations: 11.25 kB / 438.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.3482, allocations: 47.38 kB / 438.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3482, allocations: 5.094 kB / 438.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3776, allocations: 3.407 MB / 442.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.202, allocations: 8.906 kB / 442.1 MB, free: 5.879 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv --start-time 0 --stop-time 50000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50209]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.671100286010187]