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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 52.39 kB / 347.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002863/0.2773, allocations: 2.013 MB / 398.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.2782, allocations: 0.549 MB / 399 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2783, allocations: 2.812 kB / 399 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2784, allocations: 34.55 kB / 399 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.2785, allocations: 57.06 kB / 399 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.2787, allocations: 56 kB / 399.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.2789, allocations: 234.1 kB / 399.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.2791, allocations: 63.67 kB / 399.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2792, allocations: 87.39 kB / 399.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2793, allocations: 83.38 kB / 399.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.2794, allocations: 21.34 kB / 399.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.277e-05/0.2794, allocations: 20.22 kB / 399.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.2795, allocations: 49.91 kB / 399.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.2796, allocations: 85.92 kB / 399.7 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.2798, allocations: 236.3 kB / 400 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2798, allocations: 0 / 400 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2798, allocations: 1 kB / 400 MB, free: 6.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2798, allocations: 0 / 400 MB, free: 6.672 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.0006583/0.2805, allocations: 428.5 kB / 400.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2805, allocations: 13.91 kB / 400.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.2806, allocations: 52.53 kB / 400.4 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.2806, allocations: 19.16 kB / 400.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.2809, allocations: 169.1 kB / 400.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2809, allocations: 10.75 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.2809, allocations: 24.77 kB / 400.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.2813, allocations: 227.6 kB / 400.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2813, allocations: 3.984 kB / 400.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.2813, allocations: 5.922 kB / 400.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2813, allocations: 5.25 kB / 400.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.2816, allocations: 149.2 kB / 401 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.2827, allocations: 0.6624 MB / 401.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.2831, allocations: 145.5 kB / 401.8 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2832, allocations: 94.67 kB / 401.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2832, allocations: 2.031 kB / 401.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.2833, allocations: 41.34 kB / 402 MB, free: 5.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2833, allocations: 0 / 402 MB, free: 5.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004253/0.2837, allocations: 181 kB / 402.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2837, allocations: 56.75 kB / 402.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2838, allocations: 151.6 kB / 402.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2838, allocations: 34.83 kB / 402.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2839, allocations: 140.1 kB / 402.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.2839, allocations: 46.3 kB / 402.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.284, allocations: 34.11 kB / 402.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.284, allocations: 321.9 kB / 402.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2842, allocations: 50.7 kB / 403 MB, free: 4.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2843, allocations: 75.72 kB / 403.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.2845, allocations: 131.5 kB / 403.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2845, allocations: 5.156 kB / 403.2 MB, free: 4.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002975/0.2848, allocations: 175.6 kB / 403.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2848, allocations: 5.844 kB / 403.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2848, allocations: 5.469 kB / 403.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2849, allocations: 0.6094 kB / 403.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.2851, allocations: 40.62 kB / 403.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2851, allocations: 1.281 kB / 403.4 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.2852, allocations: 23.28 kB / 403.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2852, allocations: 3.625 kB / 403.4 MB, free: 4.188 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.511e-05/0.2853, allocations: 134.2 kB / 403.6 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.2853, allocations: 10.33 kB / 403.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.2853, allocations: 20.55 kB / 403.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2853, allocations: 2.406 kB / 403.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2853, allocations: 0 / 403.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2853, allocations: 2.156 kB / 403.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2856, allocations: 221.8 kB / 403.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2856, allocations: 1.219 kB / 403.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2858, allocations: 39.8 kB / 403.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2858, allocations: 0 / 403.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2858, allocations: 9.969 kB / 403.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2858, allocations: 4.641 kB / 403.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2858, allocations: 1.156 kB / 403.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.2862, allocations: 301.5 kB / 404.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.2862, allocations: 10.8 kB / 404.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.2862, allocations: 6.281 kB / 404.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2864, allocations: 17.86 kB / 404.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.2864, allocations: 7.078 kB / 404.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2864, allocations: 7.406 kB / 404.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.864e-05/0.2865, allocations: 113.7 kB / 404.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2865, allocations: 0 / 404.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2867, allocations: 47.2 kB / 404.4 MB, free: 3.508 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.0005132/0.2872, allocations: 0.8366 MB / 405.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.2875, allocations: 122.6 kB / 405.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2875, allocations: 0 / 405.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2876, allocations: 57.55 kB / 405.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.2879, allocations: 27.14 kB / 405.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.2899, allocations: 2.06 MB / 407.5 MB, free: 1.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.29, allocations: 113.9 kB / 407.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.2901, allocations: 9.984 kB / 407.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.2902, allocations: 52.19 kB / 407.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2902, allocations: 3.938 kB / 407.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3216, allocations: 4.078 MB / 411.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.4, allocations: 10.17 kB / 411.7 MB, free: 15.27 MB / 334.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:time,C1.v,C2.v,L.i [Calling sys.exit(0), Time elapsed: 15.613029976375401]