Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002008/0.002008, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.002404/0.002404, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.737/1.737, allocations: 207.6 MB / 231.8 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] 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.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",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.001791/0.001791, allocations: 51.92 kB / 342.3 MB, free: 9.938 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1285, allocations: 49.12 MB / 391.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004118/0.1327, allocations: 2.135 MB / 393.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.134, allocations: 0.5853 MB / 394.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1341, allocations: 4 kB / 394.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.1343, allocations: 27.72 kB / 394.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.1344, allocations: 51.48 kB / 394.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1347, allocations: 59.92 kB / 394.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.135, allocations: 238.8 kB / 394.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.1352, allocations: 69.84 kB / 394.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1354, allocations: 87.78 kB / 394.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1355, allocations: 91.61 kB / 394.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.1356, allocations: 24 kB / 394.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/0.1356, allocations: 20 kB / 394.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1357, allocations: 51.81 kB / 394.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1358, allocations: 99.59 kB / 395 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1361, allocations: 235 kB / 395.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1361, allocations: 0 / 395.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1361, allocations: 0 / 395.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.1361, allocations: 0 / 395.2 MB, free: 4.867 MB / 318.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.0008738/0.137, allocations: 0.4908 MB / 395.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.137, allocations: 12.02 kB / 395.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.1371, allocations: 54.67 kB / 395.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.1372, allocations: 16.84 kB / 395.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.1376, allocations: 224.1 kB / 396 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.1376, allocations: 16.38 kB / 396 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.1376, allocations: 20.38 kB / 396 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.138, allocations: 177.7 kB / 396.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.138, allocations: 0 / 396.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.1381, allocations: 8 kB / 396.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1381, allocations: 4 kB / 396.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.1384, allocations: 143.9 kB / 396.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1398, allocations: 0.7392 MB / 397.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.1402, allocations: 158.5 kB / 397.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.1404, allocations: 80.83 kB / 397.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1404, allocations: 4 kB / 397.3 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1405, allocations: 30.56 kB / 397.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1405, allocations: 7.938 kB / 397.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005433/0.141, allocations: 193.7 kB / 397.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1411, allocations: 55.34 kB / 397.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1412, allocations: 145.8 kB / 397.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1413, allocations: 29.7 kB / 397.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1414, allocations: 136.3 kB / 397.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.1414, allocations: 55.52 kB / 398 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.1415, allocations: 33.72 kB / 398 MB, free: 1.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1416, allocations: 322.8 kB / 398.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1418, allocations: 51.97 kB / 398.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1419, allocations: 73.64 kB / 398.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1422, allocations: 133.5 kB / 398.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1422, allocations: 0 / 398.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003669/0.1426, allocations: 181.5 kB / 398.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1426, allocations: 4 kB / 398.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-06/0.1426, allocations: 3.938 kB / 398.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.1427, allocations: 4 kB / 398.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.1429, allocations: 43.91 kB / 398.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1429, allocations: 0 / 398.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.143, allocations: 15.98 kB / 398.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.143, allocations: 4 kB / 398.8 MB, free: 0.9805 MB / 318.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.0001466/0.1432, allocations: 133.7 kB / 399 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1432, allocations: 15.94 kB / 399 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.1433, allocations: 16.78 kB / 399 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1433, allocations: 4 kB / 399 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1433, allocations: 0 / 399 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1433, allocations: 0 / 399 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1437, allocations: 269.5 kB / 399.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1437, allocations: 0 / 399.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.1439, allocations: 35.97 kB / 399.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1439, allocations: 4 kB / 399.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1439, allocations: 7.938 kB / 399.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1439, allocations: 0 / 399.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1439, allocations: 3.938 kB / 399.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.1445, allocations: 307.9 kB / 399.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.1446, allocations: 96.98 kB / 399.7 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1446, allocations: 3.938 kB / 399.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1448, allocations: 15.98 kB / 399.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.1448, allocations: 4 kB / 399.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1449, allocations: 7.984 kB / 399.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.145, allocations: 111.3 kB / 399.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 4 kB / 399.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1453, allocations: 43.95 kB / 399.9 MB, free: 15.82 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.0009872/0.1463, allocations: 0.8488 MB / 400.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.1466, allocations: 123.9 kB / 400.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1466, allocations: 0 / 400.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1468, allocations: 51.97 kB / 400.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1471, allocations: 27.98 kB / 401 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.1501, allocations: 2.062 MB / 403 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1505, allocations: 0.724 MB / 403.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.1506, allocations: 9.422 kB / 403.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.1507, allocations: 51.42 kB / 403.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1507, allocations: 0 / 403.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.182, allocations: 3.417 MB / 407.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.534, allocations: 8.906 kB / 407.2 MB, free: 8.316 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 13.312200501008192]