Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 184.4 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2802, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003285/0.2834, allocations: 2.155 MB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009248/0.2844, allocations: 0.5455 MB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.2845, allocations: 4 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2846, allocations: 35.66 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2847, allocations: 51.55 kB / 425.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.2849, allocations: 59.8 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.2852, allocations: 231 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2854, allocations: 57.77 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.2855, allocations: 91.72 kB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2857, allocations: 99.61 kB / 426 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.2857, allocations: 20 kB / 426 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.535e-05/0.2857, allocations: 23.94 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.2858, allocations: 47.83 kB / 426 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2859, allocations: 99.59 kB / 426.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.2862, allocations: 235.5 kB / 426.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2862, allocations: 0 / 426.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2862, allocations: 0 / 426.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2862, allocations: 0 / 426.4 MB, free: 10.82 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.0007539/0.2869, allocations: 425.5 kB / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.287, allocations: 15.97 kB / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/0.2871, allocations: 46.73 kB / 426.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.2871, allocations: 28.73 kB / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.2874, allocations: 170.2 kB / 427 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2874, allocations: 8.375 kB / 427 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.2875, allocations: 24.38 kB / 427.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.2879, allocations: 185.6 kB / 427.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2879, allocations: 0 / 427.3 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2879, allocations: 8 kB / 427.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2879, allocations: 11.94 kB / 427.3 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.2882, allocations: 131.9 kB / 427.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2894, allocations: 0.7071 MB / 428.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.2898, allocations: 158.5 kB / 428.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.29, allocations: 88.75 kB / 428.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.29, allocations: 4 kB / 428.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.29, allocations: 38.5 kB / 428.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.29, allocations: 4 kB / 428.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004514/0.2905, allocations: 177.6 kB / 428.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2905, allocations: 55.34 kB / 428.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2906, allocations: 157.8 kB / 428.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2907, allocations: 25.7 kB / 428.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.2907, allocations: 136.2 kB / 428.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.2908, allocations: 51.59 kB / 429 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.2909, allocations: 33.72 kB / 429 MB, free: 7.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.291, allocations: 322.8 kB / 429.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2911, allocations: 59.91 kB / 429.4 MB, free: 7.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2913, allocations: 73.61 kB / 429.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2915, allocations: 125.9 kB / 429.6 MB, free: 7.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2915, allocations: 0 / 429.6 MB, free: 7.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000338/0.2919, allocations: 180.2 kB / 429.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2919, allocations: 4 kB / 429.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.2919, allocations: 3.938 kB / 429.8 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2919, allocations: 4 kB / 429.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2921, allocations: 43.97 kB / 429.8 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2921, allocations: 3.984 kB / 429.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2922, allocations: 19.91 kB / 429.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2922, allocations: 8 kB / 429.9 MB, free: 7.117 MB / 334.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.0001166/0.2924, allocations: 125.8 kB / 430 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.2924, allocations: 11.95 kB / 430 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.2924, allocations: 16.72 kB / 430 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2924, allocations: 7.938 kB / 430 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2924, allocations: 0 / 430 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2925, allocations: 3.984 kB / 430 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.2927, allocations: 236.5 kB / 430.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2927, allocations: 7.984 kB / 430.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.293, allocations: 31.98 kB / 430.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.293, allocations: 7.938 kB / 430.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.293, allocations: 7.938 kB / 430.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.293, allocations: 0 / 430.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.293, allocations: 0 / 430.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.2934, allocations: 299.4 kB / 430.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.2935, allocations: 7.953 kB / 430.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.2935, allocations: 11.94 kB / 430.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2936, allocations: 12.03 kB / 430.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.2937, allocations: 7.984 kB / 430.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2937, allocations: 8 kB / 430.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.2938, allocations: 116.9 kB / 430.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2938, allocations: 0 / 430.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.2941, allocations: 55.83 kB / 430.8 MB, free: 6.094 MB / 334.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.0007526/0.2948, allocations: 0.8364 MB / 431.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.2951, allocations: 115.9 kB / 431.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2951, allocations: 0 / 431.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2952, allocations: 67.91 kB / 431.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2956, allocations: 19.98 kB / 431.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.2981, allocations: 2.051 MB / 433.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.2985, allocations: 0.7278 MB / 434.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.54e-05/0.2986, allocations: 9.516 kB / 434.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.2987, allocations: 51.36 kB / 434.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2987, allocations: 0 / 434.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03899/0.3377, allocations: 3.604 MB / 438.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.24, allocations: 3.984 kB / 438.3 MB, free: 14.62 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:time,C1.v,C2.v,L.i [Calling sys.exit(0), Time elapsed: 15.613773696000862]