Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.19 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09739, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003688/0.1011, allocations: 2.157 MB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1024, allocations: 0.5727 MB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.1026, allocations: 7.938 kB / 360.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1028, allocations: 31.7 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.103, allocations: 55.48 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1033, allocations: 51.94 kB / 360.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1036, allocations: 231 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1038, allocations: 81.62 kB / 360.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1039, allocations: 87.7 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.104, allocations: 99.61 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.1041, allocations: 20 kB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.1042, allocations: 20 kB / 361 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.1042, allocations: 47.84 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1043, allocations: 103.6 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.1046, allocations: 231.5 kB / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1046, allocations: 0 / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1046, allocations: 0 / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1046, allocations: 3.938 kB / 361.4 MB, free: 10.21 MB / 302.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.0007819/0.1054, allocations: 0.4947 MB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1055, allocations: 8.031 kB / 361.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.1055, allocations: 54.73 kB / 361.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1056, allocations: 16.75 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1058, allocations: 222.7 kB / 362.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1059, allocations: 16.38 kB / 362.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1059, allocations: 16.28 kB / 362.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.1063, allocations: 185.7 kB / 362.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1063, allocations: 0 / 362.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1063, allocations: 12 kB / 362.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1063, allocations: 7.938 kB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.1067, allocations: 139.8 kB / 362.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1079, allocations: 0.7468 MB / 363.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.1083, allocations: 154.5 kB / 363.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.1085, allocations: 93.08 kB / 363.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1085, allocations: 4 kB / 363.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1085, allocations: 42.56 kB / 363.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1085, allocations: 0 / 363.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004605/0.109, allocations: 177.5 kB / 363.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1091, allocations: 59.34 kB / 363.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1092, allocations: 149.4 kB / 363.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1092, allocations: 33.7 kB / 364 MB, free: 7.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.1093, allocations: 140.2 kB / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1094, allocations: 51.14 kB / 364.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1095, allocations: 33.72 kB / 364.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1096, allocations: 318.8 kB / 364.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1097, allocations: 51.97 kB / 364.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1099, allocations: 73.67 kB / 364.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1101, allocations: 128.6 kB / 364.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1101, allocations: 0 / 364.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003451/0.1105, allocations: 169.5 kB / 364.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1105, allocations: 7.938 kB / 364.9 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1105, allocations: 3.938 kB / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1105, allocations: 4.031 kB / 364.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1108, allocations: 43.97 kB / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1108, allocations: 0 / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1109, allocations: 19.89 kB / 365 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1109, allocations: 4 kB / 365 MB, free: 6.328 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.0001235/0.111, allocations: 134.8 kB / 365.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.1111, allocations: 15.81 kB / 365.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.1111, allocations: 20.78 kB / 365.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1112, allocations: 4 kB / 365.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1112, allocations: 0 / 365.2 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1112, allocations: 7.984 kB / 365.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.1115, allocations: 257.6 kB / 365.4 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.1115, allocations: 3.984 kB / 365.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.1118, allocations: 35.98 kB / 365.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1118, allocations: 0 / 365.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1118, allocations: 7.938 kB / 365.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1118, allocations: 0 / 365.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1118, allocations: 3.938 kB / 365.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.1123, allocations: 310.5 kB / 365.8 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.1124, allocations: 88.95 kB / 365.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1124, allocations: 11.94 kB / 365.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1126, allocations: 12.03 kB / 365.9 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.1127, allocations: 7.984 kB / 365.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1127, allocations: 11.94 kB / 365.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.418e-05/0.1128, allocations: 111.2 kB / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1128, allocations: 0 / 366 MB, free: 5.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1131, allocations: 47.91 kB / 366.1 MB, free: 5.168 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.0008537/0.114, allocations: 0.8371 MB / 366.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1143, allocations: 131.9 kB / 367 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1143, allocations: 0 / 367 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1145, allocations: 63.91 kB / 367.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1149, allocations: 26.86 kB / 367.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.1178, allocations: 2.038 MB / 369.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1182, allocations: 0.724 MB / 369.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.23e-05/0.1183, allocations: 13.42 kB / 369.9 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.1184, allocations: 51.42 kB / 369.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1184, allocations: 0 / 369.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/0.2918, allocations: 3.318 MB / 373.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.89, allocations: 4.156 kB / 373.3 MB, free: 20.14 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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