Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001657/0.001657, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001959/0.001959, allocations: 213.6 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 59.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2826, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003488/0.2861, allocations: 2.18 MB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.2871, allocations: 0.5765 MB / 433.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.2872, allocations: 4 kB / 433.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2873, allocations: 35.7 kB / 434 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2874, allocations: 55.48 kB / 434 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.2876, allocations: 55.94 kB / 434.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.2879, allocations: 231 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.288, allocations: 57.77 kB / 434.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.2881, allocations: 95.7 kB / 434.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.2883, allocations: 99.59 kB / 434.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.2883, allocations: 20 kB / 434.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.2884, allocations: 20 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.2884, allocations: 47.84 kB / 434.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.669e-05/0.2885, allocations: 95.59 kB / 434.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.2888, allocations: 239.5 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2888, allocations: 0 / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2888, allocations: 0 / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2888, allocations: 3.938 kB / 435 MB, free: 2.875 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007386/0.2895, allocations: 425.5 kB / 435.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2896, allocations: 15.97 kB / 435.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.2896, allocations: 50.73 kB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.2897, allocations: 24.8 kB / 435.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2899, allocations: 169.3 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.29, allocations: 12.38 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.29, allocations: 20.38 kB / 435.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.2903, allocations: 177.7 kB / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2903, allocations: 4 kB / 435.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.2904, allocations: 4 kB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2904, allocations: 4 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.2907, allocations: 143.9 kB / 436 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2918, allocations: 0.6993 MB / 436.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.2922, allocations: 158.4 kB / 436.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2924, allocations: 88.8 kB / 437 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2924, allocations: 4 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.2924, allocations: 34.56 kB / 437 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2924, allocations: 0 / 437 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004484/0.2929, allocations: 193.2 kB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2929, allocations: 59.34 kB / 437.2 MB, free: 468 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2931, allocations: 153.1 kB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2931, allocations: 29.7 kB / 437.4 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.2932, allocations: 140.2 kB / 437.6 MB, free: 128 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.2932, allocations: 47.64 kB / 437.6 MB, free: 80 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.2933, allocations: 29.7 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2934, allocations: 322.8 kB / 437.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2936, allocations: 63.92 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2937, allocations: 72.44 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2939, allocations: 124.1 kB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2939, allocations: 0 / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003254/0.2943, allocations: 177.5 kB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2943, allocations: 4 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2943, allocations: 3.938 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2943, allocations: 0 / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2945, allocations: 51.91 kB / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2945, allocations: 0 / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.857e-05/0.2946, allocations: 11.89 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2946, allocations: 4 kB / 438.4 MB, free: 15.2 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 0.0001133/0.2948, allocations: 133.8 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.2948, allocations: 15.91 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.2948, allocations: 20.7 kB / 438.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2948, allocations: 4 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2948, allocations: 0 / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2948, allocations: 0 / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2951, allocations: 236.6 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2951, allocations: 0 / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.2953, allocations: 35.97 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2953, allocations: 4 kB / 438.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2954, allocations: 11.94 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2954, allocations: 0 / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2954, allocations: 0 / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.2958, allocations: 299.3 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.2958, allocations: 15.94 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2959, allocations: 7.938 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.296, allocations: 12 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.2961, allocations: 23.84 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.2961, allocations: 4 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.2962, allocations: 111.3 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 0 / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.2964, allocations: 47.89 kB / 439.4 MB, free: 14.17 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.0007452/0.2972, allocations: 0.8295 MB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.2975, allocations: 122.6 kB / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2975, allocations: 0 / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2976, allocations: 71.47 kB / 440.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2979, allocations: 19.98 kB / 440.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.3005, allocations: 2.059 MB / 442.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3009, allocations: 0.7201 MB / 443.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.188e-05/0.3009, allocations: 13.44 kB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.614e-05/0.301, allocations: 51.41 kB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.301, allocations: 0 / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.3329, allocations: 3.606 MB / 446.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.99, allocations: 6.719 kB / 446.9 MB, free: 6.668 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 14.555718609000905]