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.001126/0.001126, allocations: 101.5 kB / 17.58 MB, free: 5.418 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.001346/0.001346, allocations: 192 kB / 18.51 MB, free: 4.508 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.437/1.437, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001212/0.001212, allocations: 60.39 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09904, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003604/0.1027, allocations: 2.125 MB / 329.5 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1037, allocations: 0.5736 MB / 330.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1039, allocations: 4 kB / 330.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1041, allocations: 35.64 kB / 330.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1042, allocations: 51.56 kB / 330.2 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1044, allocations: 55.86 kB / 330.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1047, allocations: 235 kB / 330.5 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1049, allocations: 73.66 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.105, allocations: 79.78 kB / 330.6 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1052, allocations: 115.5 kB / 330.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.1052, allocations: 20 kB / 330.7 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.1052, allocations: 24 kB / 330.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.1053, allocations: 43.84 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1054, allocations: 103.5 kB / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1057, allocations: 231.5 kB / 331.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1057, allocations: 0 / 331.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1057, allocations: 0 / 331.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1057, allocations: 0 / 331.1 MB, free: 0.6016 MB / 270.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.000814/0.1065, allocations: 0.4949 MB / 331.6 MB, free: 60 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1066, allocations: 8.031 kB / 331.6 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.538e-05/0.1067, allocations: 54.81 kB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1067, allocations: 20.66 kB / 331.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.107, allocations: 216.1 kB / 331.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.107, allocations: 16.38 kB / 331.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1071, allocations: 12.38 kB / 331.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1074, allocations: 181.7 kB / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1074, allocations: 3.938 kB / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1075, allocations: 15.98 kB / 332.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1075, allocations: 7.984 kB / 332.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.1078, allocations: 135.9 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1089, allocations: 0.7545 MB / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.1093, allocations: 150.6 kB / 333.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1095, allocations: 100.8 kB / 333.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1095, allocations: 3.938 kB / 333.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1096, allocations: 30.56 kB / 333.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1096, allocations: 4 kB / 333.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004525/0.11, allocations: 185.7 kB / 333.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1101, allocations: 59.34 kB / 333.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1102, allocations: 149.8 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1103, allocations: 29.7 kB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.1103, allocations: 136.2 kB / 333.9 MB, free: 13.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.1104, allocations: 43.3 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.1105, allocations: 37.62 kB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.1106, allocations: 318.8 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1107, allocations: 51.97 kB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1108, allocations: 77.62 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1111, allocations: 125 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1111, allocations: 0 / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003096/0.1114, allocations: 173.4 kB / 334.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1114, allocations: 7.938 kB / 334.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1114, allocations: 7.969 kB / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1114, allocations: 4 kB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.1117, allocations: 39.97 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1117, allocations: 0 / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1118, allocations: 15.91 kB / 334.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1118, allocations: 4 kB / 334.8 MB, free: 12.71 MB / 286.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.0001112/0.1119, allocations: 133.7 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.112, allocations: 11.91 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.112, allocations: 24.78 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.112, allocations: 0 / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1121, allocations: 4 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1121, allocations: 0 / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1123, allocations: 265.5 kB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1123, allocations: 3.938 kB / 335.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.1125, allocations: 43.91 kB / 335.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1126, allocations: 0 / 335.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1126, allocations: 7.938 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1126, allocations: 0 / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1126, allocations: 4 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.113, allocations: 297.1 kB / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1131, allocations: 92.86 kB / 335.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1131, allocations: 7.938 kB / 335.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1133, allocations: 16.03 kB / 335.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1133, allocations: 11.98 kB / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1133, allocations: 0 / 335.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.484e-05/0.1134, allocations: 112 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1134, allocations: 0 / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1137, allocations: 43.91 kB / 335.8 MB, free: 11.57 MB / 286.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.0006948/0.1144, allocations: 0.8451 MB / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1147, allocations: 135.8 kB / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1147, allocations: 0 / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1149, allocations: 63.91 kB / 336.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1153, allocations: 24.05 kB / 336.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.1177, allocations: 2.051 MB / 338.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.118, allocations: 0.7278 MB / 339.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.118, allocations: 9.438 kB / 339.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.1181, allocations: 55.41 kB / 339.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1181, allocations: 0 / 339.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1397, allocations: 3.323 MB / 343 MB, free: 4.133 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/7.819, allocations: 3.859 kB / 343 MB, free: 4.129 MB / 286.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