Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 194.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 47.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2827, allocations: 52.17 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003495/0.2862, allocations: 2.039 MB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.2872, allocations: 0.4987 MB / 425.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2873, allocations: 7.938 kB / 425.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2874, allocations: 35.7 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.2875, allocations: 51.48 kB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2877, allocations: 55.94 kB / 425.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.288, allocations: 231 kB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.2882, allocations: 57.7 kB / 425.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.2883, allocations: 91.7 kB / 425.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2885, allocations: 83.61 kB / 425.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.2885, allocations: 20 kB / 425.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.2886, allocations: 20 kB / 425.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.2886, allocations: 43.84 kB / 425.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2887, allocations: 91.64 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.289, allocations: 231.5 kB / 426.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.289, allocations: 4 kB / 426.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.289, allocations: 4 kB / 426.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.2891, allocations: 0 / 426.1 MB, free: 10.82 MB / 334.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.0007731/0.2898, allocations: 421.5 kB / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2899, allocations: 8.031 kB / 426.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.75e-05/0.2899, allocations: 54.73 kB / 426.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.29, allocations: 20.8 kB / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.2903, allocations: 174.2 kB / 426.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2903, allocations: 12.38 kB / 426.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.2904, allocations: 20.38 kB / 426.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.2908, allocations: 237 kB / 427 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2908, allocations: 0 / 427 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.2908, allocations: 7.984 kB / 427 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2908, allocations: 4 kB / 427.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.2911, allocations: 139.9 kB / 427.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2923, allocations: 0.6758 MB / 427.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.2927, allocations: 154.5 kB / 428 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.2929, allocations: 84.81 kB / 428.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2929, allocations: 4 kB / 428.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.293, allocations: 34.56 kB / 428.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.293, allocations: 0 / 428.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004618/0.2934, allocations: 179.7 kB / 428.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.2935, allocations: 59.34 kB / 428.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2936, allocations: 156.8 kB / 428.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2937, allocations: 33.64 kB / 428.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.2938, allocations: 136.3 kB / 428.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.2938, allocations: 47.58 kB / 428.7 MB, free: 8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.2939, allocations: 37.72 kB / 428.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.294, allocations: 322.8 kB / 429.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2941, allocations: 47.97 kB / 429.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.2943, allocations: 69.69 kB / 429.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2945, allocations: 130.6 kB / 429.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2945, allocations: 0 / 429.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003344/0.2949, allocations: 180.2 kB / 429.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2949, allocations: 8 kB / 429.5 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2949, allocations: 3.938 kB / 429.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2949, allocations: 4 kB / 429.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.2951, allocations: 43.94 kB / 429.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2951, allocations: 8 kB / 429.6 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.2952, allocations: 15.89 kB / 429.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2952, allocations: 4 kB / 429.6 MB, free: 7.113 MB / 334.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.0001163/0.2954, allocations: 125.8 kB / 429.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.2954, allocations: 15.89 kB / 429.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.2954, allocations: 20.72 kB / 429.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2954, allocations: 0 / 429.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2954, allocations: 4 kB / 429.8 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2954, allocations: 3.938 kB / 429.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.2957, allocations: 224.6 kB / 430 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2957, allocations: 0 / 430 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2959, allocations: 35.92 kB / 430 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2959, allocations: 0 / 430 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.296, allocations: 11.94 kB / 430 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.296, allocations: 3.984 kB / 430 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.296, allocations: 0 / 430 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.2965, allocations: 291.4 kB / 430.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.2965, allocations: 15.89 kB / 430.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.2965, allocations: 11.94 kB / 430.3 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2967, allocations: 12.03 kB / 430.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.2967, allocations: 3.984 kB / 430.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2967, allocations: 11.94 kB / 430.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.917e-05/0.2968, allocations: 113.3 kB / 430.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2968, allocations: 0 / 430.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000266/0.2971, allocations: 51.89 kB / 430.5 MB, free: 6.109 MB / 334.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.0008552/0.2979, allocations: 0.8371 MB / 431.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.2982, allocations: 123.9 kB / 431.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2982, allocations: 0 / 431.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2984, allocations: 51.92 kB / 431.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.2987, allocations: 43.48 kB / 431.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.3014, allocations: 2.047 MB / 433.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3015, allocations: 119.8 kB / 433.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.3016, allocations: 9.422 kB / 433.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.3017, allocations: 51.42 kB / 433.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3017, allocations: 4 kB / 433.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.333, allocations: 4.057 MB / 437.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.16, allocations: 3.938 kB / 437.9 MB, free: 14.8 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.409801497124135]