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.0008291/0.0008291, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009605/0.0009605, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9229/0.9229, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.509e-05, allocations: 12.89 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002393/0.002418, allocations: 2.036 MB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.003203, allocations: 0.5571 MB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.003287, allocations: 4 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.003407, allocations: 31.7 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.003491, allocations: 67.36 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.003678, allocations: 51.92 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.003893, allocations: 238.9 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.004048, allocations: 53.77 kB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004175, allocations: 135.8 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.004278, allocations: 71.78 kB / 327.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.004317, allocations: 20 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.004341, allocations: 20 kB / 327.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.004377, allocations: 47.83 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.004433, allocations: 75.89 kB / 328 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.004646, allocations: 247.2 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004649, allocations: 0 / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.004651, allocations: 0 / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.004657, allocations: 0 / 328.2 MB, free: 12.27 MB / 298.7 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.0005662/0.005223, allocations: 417.5 kB / 328.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.005277, allocations: 12.03 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.00532, allocations: 54.73 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.005361, allocations: 28.73 kB / 328.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.005573, allocations: 165.4 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.005591, allocations: 16.38 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.005618, allocations: 16.38 kB / 328.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.005879, allocations: 229.5 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.005886, allocations: 192 / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.005905, allocations: 16.06 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.005911, allocations: 4 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.006098, allocations: 143.9 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007625/0.00686, allocations: 0.657 MB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.0071, allocations: 146.5 kB / 330.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.007229, allocations: 88.81 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.007242, allocations: 4 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.007265, allocations: 38.55 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.007266, allocations: 3.938 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003154/0.007581, allocations: 189.7 kB / 330.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.007616, allocations: 55.39 kB / 330.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007723, allocations: 160.7 kB / 330.6 MB, free: 9.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.007738, allocations: 25.7 kB / 330.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.007801, allocations: 136.2 kB / 330.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.007828, allocations: 47.64 kB / 330.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.007875, allocations: 33.66 kB / 330.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.007963, allocations: 326.8 kB / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.008037, allocations: 47.98 kB / 331.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.008121, allocations: 73.67 kB / 331.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.008281, allocations: 128.6 kB / 331.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008284, allocations: 0 / 331.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001998/0.008484, allocations: 165.5 kB / 331.6 MB, free: 8.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.0085, allocations: 4 kB / 331.6 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.008506, allocations: 3.938 kB / 331.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.008517, allocations: 8.031 kB / 331.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.008651, allocations: 47.91 kB / 331.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.008658, allocations: 3.938 kB / 331.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.008711, allocations: 23.83 kB / 331.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.008721, allocations: 8 kB / 331.7 MB, free: 8.562 MB / 298.7 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 8.311e-05/0.008804, allocations: 121.8 kB / 331.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.008824, allocations: 11.95 kB / 331.8 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.008856, allocations: 20.78 kB / 331.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008858, allocations: 0 / 331.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.008864, allocations: 7.938 kB / 331.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.008869, allocations: 7.984 kB / 331.9 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.009058, allocations: 220.6 kB / 332.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009059, allocations: 0 / 332.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.009186, allocations: 35.97 kB / 332.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009188, allocations: 0 / 332.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.0092, allocations: 4 kB / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009202, allocations: 4 kB / 332.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.009206, allocations: 7.922 kB / 332.1 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.009536, allocations: 303 kB / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.009555, allocations: 15.94 kB / 332.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.009572, allocations: 4 kB / 332.4 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.009643, allocations: 11.98 kB / 332.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.00968, allocations: 11.92 kB / 332.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.009688, allocations: 8 kB / 332.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.561e-05/0.009744, allocations: 111.3 kB / 332.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009744, allocations: 0 / 332.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.009922, allocations: 55.83 kB / 332.6 MB, free: 7.559 MB / 298.7 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.0004928/0.01041, allocations: 0.8217 MB / 333.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.01062, allocations: 123.9 kB / 333.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01062, allocations: 0 / 333.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.01069, allocations: 55.97 kB / 333.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01093, allocations: 37.47 kB / 333.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.01274, allocations: 1.987 MB / 335.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.615e-05/0.01283, allocations: 112.1 kB / 335.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.01289, allocations: 13.48 kB / 335.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.01296, allocations: 48.48 kB / 335.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01296, allocations: 0 / 335.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.03247, allocations: 4.205 MB / 340 MB, free: 172 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.871, allocations: 10.59 kB / 340 MB, free: 168 kB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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[50217]=50000.000000 " [Timeout remaining time 660] "" 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: 9.471012968569994]