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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 106.4 kB / 16.92 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002134, allocations: 46.28 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1496, allocations: 49.45 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005831/0.1555, allocations: 2.126 MB / 352.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1572, allocations: 0.5415 MB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.1575, allocations: 4 kB / 352.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1578, allocations: 35.64 kB / 352.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.158, allocations: 47.56 kB / 352.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1585, allocations: 59.86 kB / 353 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.159, allocations: 223 kB / 353.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.1593, allocations: 85.64 kB / 353.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1595, allocations: 87.7 kB / 353.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1598, allocations: 95.61 kB / 353.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.1598, allocations: 20 kB / 353.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.1599, allocations: 20 kB / 353.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.16, allocations: 47.84 kB / 353.5 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1601, allocations: 103.5 kB / 353.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1604, allocations: 231.5 kB / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1605, allocations: 4 kB / 353.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1605, allocations: 0 / 353.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1605, allocations: 7.938 kB / 353.9 MB, free: 0.5898 MB / 286.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.0009766/0.1615, allocations: 498.7 kB / 354.4 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1615, allocations: 8.031 kB / 354.4 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.121e-05/0.1616, allocations: 50.81 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.1619, allocations: 24.75 kB / 354.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1623, allocations: 219.4 kB / 354.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1623, allocations: 12.38 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.1624, allocations: 20.38 kB / 354.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.163, allocations: 177.7 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.163, allocations: 0 / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.163, allocations: 12 kB / 354.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1631, allocations: 4 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.1635, allocations: 143.8 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.1653, allocations: 0.7583 MB / 355.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.1658, allocations: 158.6 kB / 355.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.1661, allocations: 92.77 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1661, allocations: 0 / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.1662, allocations: 38.5 kB / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.1662, allocations: 0 / 356.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006537/0.1669, allocations: 189.7 kB / 356.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.167, allocations: 59.34 kB / 356.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1671, allocations: 149.8 kB / 356.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1672, allocations: 25.7 kB / 356.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.1673, allocations: 132.2 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.1673, allocations: 55.19 kB / 356.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.1674, allocations: 37.72 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1676, allocations: 326.8 kB / 357 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1678, allocations: 55.92 kB / 357.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.1681, allocations: 69.62 kB / 357.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.1685, allocations: 121.7 kB / 357.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1685, allocations: 0 / 357.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004936/0.169, allocations: 177.4 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1691, allocations: 8 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1691, allocations: 3.938 kB / 357.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1691, allocations: 0 / 357.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1694, allocations: 43.97 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1694, allocations: 7.938 kB / 357.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1696, allocations: 11.91 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1696, allocations: 7.984 kB / 357.5 MB, free: 12.69 MB / 302.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.0001681/0.1698, allocations: 137.8 kB / 357.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.1699, allocations: 11.84 kB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.1699, allocations: 20.78 kB / 357.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.17, allocations: 0 / 357.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.17, allocations: 0 / 357.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.17, allocations: 0 / 357.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.1704, allocations: 269.5 kB / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1704, allocations: 0 / 358 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.1708, allocations: 43.95 kB / 358 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1708, allocations: 0 / 358 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1708, allocations: 3.938 kB / 358 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1708, allocations: 7.938 kB / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1708, allocations: 0 / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.1715, allocations: 306.3 kB / 358.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1715, allocations: 88.95 kB / 358.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.1716, allocations: 7.938 kB / 358.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1718, allocations: 16.03 kB / 358.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.1719, allocations: 7.984 kB / 358.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1719, allocations: 4 kB / 358.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.172, allocations: 113.5 kB / 358.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.172, allocations: 0 / 358.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.1725, allocations: 43.91 kB / 358.6 MB, free: 11.54 MB / 302.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.001048/0.1736, allocations: 0.8454 MB / 359.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.174, allocations: 130.9 kB / 359.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.174, allocations: 8.062 kB / 359.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.1743, allocations: 63.91 kB / 359.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.175, allocations: 27.98 kB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.1796, allocations: 2.044 MB / 361.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.1802, allocations: 0.7201 MB / 362.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1803, allocations: 9.438 kB / 362.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1805, allocations: 51.41 kB / 362.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1805, allocations: 0 / 362.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.21, allocations: 3.322 MB / 365.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.219, allocations: 12.97 kB / 365.8 MB, free: 4.25 MB / 302.1 MB (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) 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) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:time,C1.v,C2.v,L.i