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.001819/0.001819, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.002018/0.002018, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.604/1.604, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001484/0.001484, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004733/0.1079, allocations: 2.124 MB / 376.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1092, allocations: 0.5812 MB / 377.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1095, allocations: 4 kB / 377.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1098, allocations: 35.7 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.11, allocations: 51.48 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1103, allocations: 51.94 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.1107, allocations: 238.8 kB / 377.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.111, allocations: 81.62 kB / 377.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.1112, allocations: 87.77 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1114, allocations: 103.6 kB / 378 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.1115, allocations: 20 kB / 378 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.1116, allocations: 20 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1116, allocations: 43.84 kB / 378.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1118, allocations: 103.5 kB / 378.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.1122, allocations: 235.1 kB / 378.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.1122, allocations: 0 / 378.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1123, allocations: 3.938 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1123, allocations: 0 / 378.4 MB, free: 1.305 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.001116/0.1134, allocations: 0.4946 MB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1135, allocations: 8.031 kB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.1135, allocations: 54.73 kB / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.1136, allocations: 20.84 kB / 379 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.114, allocations: 220.1 kB / 379.2 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.114, allocations: 12.38 kB / 379.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.1141, allocations: 20.38 kB / 379.2 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.1145, allocations: 185.7 kB / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1145, allocations: 0 / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1145, allocations: 4 kB / 379.4 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1145, allocations: 4 kB / 379.4 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.1149, allocations: 147.8 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1918/0.3066, allocations: 0.7334 MB / 380.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.3071, allocations: 155.1 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.3073, allocations: 95.08 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3073, allocations: 4.422 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3073, allocations: 40.5 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.053e-06/0.3073, allocations: 0 / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004568/0.3078, allocations: 188.9 kB / 380.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.3078, allocations: 55.08 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3079, allocations: 146.5 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.308, allocations: 30.27 kB / 381 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.308, allocations: 133.9 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3081, allocations: 52.14 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.3081, allocations: 34.53 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.3082, allocations: 325.7 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3083, allocations: 52.95 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3084, allocations: 74.53 kB / 381.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.3086, allocations: 125.1 kB / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3087, allocations: 1.875 kB / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003009/0.309, allocations: 176.2 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.309, allocations: 8.016 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.309, allocations: 1.375 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.309, allocations: 1.984 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3093, allocations: 45.36 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3093, allocations: 2.219 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.3094, allocations: 17.67 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3094, allocations: 14.47 kB / 382 MB, free: 11.87 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 7.45e-05/0.3095, allocations: 128.6 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3095, allocations: 14.41 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.3096, allocations: 22.3 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3096, allocations: 1.312 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3096, allocations: 1.516 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3096, allocations: 6.609 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3099, allocations: 261.6 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3099, allocations: 3.625 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.3101, allocations: 42.25 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3101, allocations: 1.891 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3101, allocations: 0 / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3102, allocations: 2.031 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3102, allocations: 0 / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.3106, allocations: 311.7 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.3107, allocations: 96.03 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3107, allocations: 3.562 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3109, allocations: 15.45 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.3109, allocations: 7.016 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.311, allocations: 7.438 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.3111, allocations: 118 kB / 383.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.3111, allocations: 0 / 383.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3114, allocations: 50.53 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.0006973/0.3121, allocations: 0.8344 MB / 383.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3124, allocations: 127.5 kB / 384.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3124, allocations: 0 / 384.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3125, allocations: 63.88 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.000333/0.3129, allocations: 33.81 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.002157/0.315, allocations: 2.053 MB / 386.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3152, allocations: 0.7203 MB / 386.9 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.3153, allocations: 15.39 kB / 387 MB, free: 8.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.3153, allocations: 48.59 kB / 387 MB, free: 8.051 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3153, allocations: 0 / 387 MB, free: 8.051 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.3369, allocations: 3.396 MB / 390.4 MB, free: 7.422 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.47, allocations: 9.109 kB / 390.4 MB, free: 7.414 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