Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001316/0.001316, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 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.001468/0.001468, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2855, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003359/0.2889, allocations: 2.174 MB / 433.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.29, allocations: 0.5882 MB / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2901, allocations: 4 kB / 433.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2903, allocations: 31.66 kB / 433.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2904, allocations: 51.55 kB / 434 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2906, allocations: 63.86 kB / 434.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.2909, allocations: 231 kB / 434.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2911, allocations: 57.77 kB / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2912, allocations: 87.78 kB / 434.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2914, allocations: 103.5 kB / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.2914, allocations: 20 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-05/0.2914, allocations: 20 kB / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.2915, allocations: 43.84 kB / 434.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2916, allocations: 107.5 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.2919, allocations: 236.8 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2919, allocations: 0 / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2919, allocations: 0 / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2919, allocations: 3.938 kB / 434.9 MB, free: 3.043 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.0007738/0.2927, allocations: 425.4 kB / 435.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2927, allocations: 12.03 kB / 435.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.2928, allocations: 50.73 kB / 435.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.2929, allocations: 20.84 kB / 435.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2932, allocations: 178.1 kB / 435.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2932, allocations: 12.38 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.2932, allocations: 16.38 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.2936, allocations: 185.7 kB / 435.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2936, allocations: 3.938 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.2936, allocations: 4 kB / 435.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2936, allocations: 8 kB / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.2939, allocations: 139.9 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2951, allocations: 0.6954 MB / 436.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.2955, allocations: 154.5 kB / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2956, allocations: 80.83 kB / 436.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2957, allocations: 7.938 kB / 436.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.2957, allocations: 34.5 kB / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2957, allocations: 4 kB / 436.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004594/0.2961, allocations: 197.4 kB / 437.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2962, allocations: 55.34 kB / 437.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2963, allocations: 153.8 kB / 437.3 MB, free: 476 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2964, allocations: 29.7 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.2965, allocations: 136.2 kB / 437.5 MB, free: 300 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.2965, allocations: 43.64 kB / 437.5 MB, free: 256 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.2966, allocations: 37.67 kB / 437.6 MB, free: 212 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2967, allocations: 322.8 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2969, allocations: 51.97 kB / 438 MB, free: 15.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.297, allocations: 80.02 kB / 438 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2973, allocations: 117.7 kB / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2973, allocations: 0 / 438.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003363/0.2976, allocations: 180 kB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2976, allocations: 4 kB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2976, allocations: 3.938 kB / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2976, allocations: 0 / 438.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2979, allocations: 43.97 kB / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2979, allocations: 32 / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.298, allocations: 23.88 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.298, allocations: 4 kB / 438.4 MB, free: 15.37 MB / 350.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.000122/0.2981, allocations: 129.8 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.2981, allocations: 23.84 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.2982, allocations: 16.72 kB / 438.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2982, allocations: 4 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2982, allocations: 0 / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2982, allocations: 3.984 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.2985, allocations: 240.5 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2985, allocations: 0 / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.2987, allocations: 39.91 kB / 438.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2987, allocations: 4 kB / 438.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2987, allocations: 7.938 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2987, allocations: 3.938 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2987, allocations: 0 / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.2992, allocations: 299.4 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2992, allocations: 11.91 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2992, allocations: 7.938 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2994, allocations: 12.03 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.2994, allocations: 7.984 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2994, allocations: 8 kB / 439.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.024e-05/0.2995, allocations: 112.9 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2995, allocations: 4 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.2998, allocations: 47.89 kB / 439.4 MB, free: 14.34 MB / 350.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.0007295/0.3005, allocations: 0.8282 MB / 440.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.3008, allocations: 127.9 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3008, allocations: 0 / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3009, allocations: 59.91 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3013, allocations: 27.92 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3038, allocations: 2.059 MB / 442.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3042, allocations: 0.7318 MB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.3042, allocations: 9.422 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.3043, allocations: 51.42 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3043, allocations: 0 / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3344, allocations: 3.604 MB / 446.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.97, allocations: 7.875 kB / 446.9 MB, free: 6.855 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50209]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.429191474999243]