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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001297/0.001297, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1122, allocations: 46.61 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003803/0.116, allocations: 2.121 MB / 376.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1173, allocations: 0.5812 MB / 377.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1175, allocations: 4 kB / 377.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1177, allocations: 31.72 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.1178, allocations: 51.48 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.118, allocations: 55.91 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.1184, allocations: 238.9 kB / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1186, allocations: 81.56 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1188, allocations: 83.78 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.119, allocations: 99.61 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.119, allocations: 20 kB / 378 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.1191, allocations: 24 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.1191, allocations: 47.83 kB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1193, allocations: 99.53 kB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1196, allocations: 239.1 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1196, allocations: 3.938 kB / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1196, allocations: 0 / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1197, allocations: 0 / 378.4 MB, free: 1.301 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.0008894/0.1206, allocations: 0.4908 MB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1206, allocations: 12.02 kB / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.1207, allocations: 54.73 kB / 379 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.1208, allocations: 16.84 kB / 379 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.1211, allocations: 220 kB / 379.2 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1212, allocations: 20.38 kB / 379.2 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.1212, allocations: 16.38 kB / 379.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.1216, allocations: 181.7 kB / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1216, allocations: 0 / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1217, allocations: 8 kB / 379.4 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1217, allocations: 4 kB / 379.4 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.122, allocations: 143.9 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2189/0.3409, allocations: 0.738 MB / 380.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.3413, allocations: 157 kB / 380.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.3415, allocations: 94.58 kB / 380.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3416, allocations: 5.953 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3416, allocations: 36.25 kB / 380.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.3416, allocations: 0 / 380.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005184/0.3421, allocations: 188.5 kB / 380.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3422, allocations: 52.78 kB / 380.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3423, allocations: 147.6 kB / 381 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3423, allocations: 30.52 kB / 381 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.3424, allocations: 133.2 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.3425, allocations: 55.66 kB / 381.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.3425, allocations: 32.14 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.3426, allocations: 328.4 kB / 381.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3428, allocations: 52.44 kB / 381.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3429, allocations: 72.28 kB / 381.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.3432, allocations: 125.6 kB / 381.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3432, allocations: 0 / 381.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003329/0.3435, allocations: 176.5 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3436, allocations: 6.203 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3436, allocations: 3.812 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3436, allocations: 4.547 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3438, allocations: 40.91 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3439, allocations: 4.281 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.344, allocations: 22.16 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.344, allocations: 7.5 kB / 382 MB, free: 11.88 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 8.901e-05/0.3441, allocations: 128.7 kB / 382.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3442, allocations: 21.14 kB / 382.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.3442, allocations: 16.55 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3442, allocations: 3.844 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3442, allocations: 0.5 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3442, allocations: 4.734 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.3446, allocations: 271.7 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3446, allocations: 1.219 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3448, allocations: 36.08 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3448, allocations: 0.5312 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3449, allocations: 5.375 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3449, allocations: 2.719 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3449, allocations: 0 / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.3454, allocations: 309.2 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3455, allocations: 93.55 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3455, allocations: 4.781 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3457, allocations: 14.83 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.3457, allocations: 7.828 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3457, allocations: 6.688 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3459, allocations: 115.6 kB / 383.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.3459, allocations: 3.656 kB / 383.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.3462, allocations: 51.52 kB / 383.1 MB, free: 11.15 MB / 318.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.0007437/0.3469, allocations: 0.8339 MB / 383.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.3473, allocations: 127.3 kB / 384.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3473, allocations: 0 / 384.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3474, allocations: 59.69 kB / 384.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3478, allocations: 34.73 kB / 384.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.3502, allocations: 2.058 MB / 386.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3504, allocations: 0.7205 MB / 386.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.594e-05/0.3505, allocations: 18.03 kB / 387 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.3506, allocations: 46.28 kB / 387 MB, free: 8.043 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3506, allocations: 0 / 387 MB, free: 8.043 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.3802, allocations: 3.391 MB / 390.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.044, allocations: 16.83 kB / 390.4 MB, free: 7.402 MB / 318.1 MB (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) 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) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:time,C1.v,C2.v,L.i