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.001268/0.001268, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001217/0.001217, allocations: 193.4 kB / 18 MB, free: 5.074 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 55.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3055, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003691/0.3093, allocations: 2.146 MB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.3103, allocations: 0.5376 MB / 402.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.3105, allocations: 4 kB / 402.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.3107, allocations: 31.72 kB / 403 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3108, allocations: 55.48 kB / 403 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.311, allocations: 51.92 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.3113, allocations: 235 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3115, allocations: 77.64 kB / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3117, allocations: 83.78 kB / 403.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3118, allocations: 103.5 kB / 403.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.3119, allocations: 20 kB / 403.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.154e-05/0.3119, allocations: 20 kB / 403.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.312, allocations: 43.89 kB / 403.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3121, allocations: 107.5 kB / 403.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.3124, allocations: 230.1 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3124, allocations: 0 / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3125, allocations: 0 / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3125, allocations: 0 / 404 MB, free: 5.055 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.0008884/0.3134, allocations: 0.4907 MB / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3134, allocations: 12.03 kB / 404.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.615e-05/0.3135, allocations: 54.72 kB / 404.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.3135, allocations: 24.8 kB / 404.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3139, allocations: 216 kB / 404.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3139, allocations: 16.38 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.3139, allocations: 20.38 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.3143, allocations: 185.7 kB / 405 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3143, allocations: 0 / 405 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3144, allocations: 4 kB / 405 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3144, allocations: 7.984 kB / 405 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.3147, allocations: 143.9 kB / 405.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3161, allocations: 0.7508 MB / 405.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.3165, allocations: 162.5 kB / 406 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3167, allocations: 94.83 kB / 406.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.3167, allocations: 0 / 406.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.3168, allocations: 38.56 kB / 406.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.3168, allocations: 7.938 kB / 406.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004885/0.3173, allocations: 177.5 kB / 406.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3173, allocations: 59.34 kB / 406.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3175, allocations: 147.3 kB / 406.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3175, allocations: 29.7 kB / 406.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3176, allocations: 140.2 kB / 406.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.3177, allocations: 51.58 kB / 406.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.3177, allocations: 37.7 kB / 406.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002675/0.318, allocations: 318.8 kB / 407.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3182, allocations: 51.97 kB / 407.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3183, allocations: 69.69 kB / 407.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3186, allocations: 132.4 kB / 407.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3186, allocations: 0 / 407.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003465/0.3189, allocations: 173.5 kB / 407.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.319, allocations: 4 kB / 407.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.319, allocations: 7.875 kB / 407.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.319, allocations: 4 kB / 407.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.3192, allocations: 43.97 kB / 407.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3192, allocations: 0 / 407.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3194, allocations: 23.86 kB / 407.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3194, allocations: 4 kB / 407.6 MB, free: 1.145 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.0001141/0.3195, allocations: 125.8 kB / 407.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3195, allocations: 11.95 kB / 407.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3196, allocations: 24.77 kB / 407.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3196, allocations: 0 / 407.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3196, allocations: 4 kB / 407.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3196, allocations: 0 / 407.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.3199, allocations: 269.5 kB / 408 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.32, allocations: 4 kB / 408.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.3202, allocations: 39.97 kB / 408.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3202, allocations: 0 / 408.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3202, allocations: 7.938 kB / 408.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3202, allocations: 0 / 408.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3202, allocations: 0 / 408.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.3208, allocations: 305.6 kB / 408.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.3209, allocations: 89.09 kB / 408.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3209, allocations: 11.94 kB / 408.5 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3211, allocations: 11.98 kB / 408.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3211, allocations: 4 kB / 408.5 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3211, allocations: 4 kB / 408.5 MB, free: 160 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.3212, allocations: 117.3 kB / 408.6 MB, free: 44 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3213, allocations: 0 / 408.6 MB, free: 44 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3215, allocations: 56.02 kB / 408.7 MB, free: 15.98 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.0008051/0.3223, allocations: 0.8414 MB / 409.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.3227, allocations: 130 kB / 409.7 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3227, allocations: 0 / 409.7 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3229, allocations: 59.92 kB / 409.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3232, allocations: 23.98 kB / 409.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.326, allocations: 2.057 MB / 411.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3263, allocations: 0.7239 MB / 412.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.3264, allocations: 17.36 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.3265, allocations: 47.42 kB / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3265, allocations: 0 / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.3537, allocations: 3.406 MB / 416 MB, free: 8.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.578, allocations: 4.562 kB / 416 MB, free: 8.652 MB / 334.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