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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001936/0.001936, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002472/0.002472, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 75.88 kB / 377.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 53.4 MB / 431.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003428/0.298, allocations: 2.036 MB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2991, allocations: 0.5532 MB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2992, allocations: 4 kB / 433.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2993, allocations: 31.66 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2994, allocations: 47.55 kB / 433.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.2996, allocations: 63.86 kB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.2999, allocations: 227 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.3001, allocations: 57.77 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3003, allocations: 91.72 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3004, allocations: 79.61 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.3004, allocations: 24 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.478e-05/0.3005, allocations: 23.94 kB / 434.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.3005, allocations: 43.89 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3006, allocations: 91.64 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.3009, allocations: 236.8 kB / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3009, allocations: 0 / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.301, allocations: 0 / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.301, allocations: 0 / 434.7 MB, free: 2.801 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.0008038/0.3018, allocations: 425.5 kB / 435.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3018, allocations: 11.98 kB / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.3019, allocations: 58.72 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3019, allocations: 24.73 kB / 435.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3023, allocations: 170.2 kB / 435.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.3023, allocations: 16.38 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.3023, allocations: 20.38 kB / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.3027, allocations: 233.1 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3027, allocations: 0 / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3028, allocations: 8 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3028, allocations: 4 kB / 435.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.3031, allocations: 139.9 kB / 435.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.3043, allocations: 0.6565 MB / 436.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.3047, allocations: 146.6 kB / 436.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.3049, allocations: 96.77 kB / 436.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.3049, allocations: 4 kB / 436.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.305, allocations: 34.55 kB / 436.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.305, allocations: 0 / 436.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004805/0.3054, allocations: 185.8 kB / 436.9 MB, free: 440 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3055, allocations: 55.34 kB / 437 MB, free: 372 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3056, allocations: 157.3 kB / 437.1 MB, free: 208 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3057, allocations: 29.64 kB / 437.2 MB, free: 172 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.3057, allocations: 140.2 kB / 437.3 MB, free: 28 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.3058, allocations: 47.64 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3059, allocations: 41.66 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.306, allocations: 318.8 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3061, allocations: 55.86 kB / 437.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3063, allocations: 76.42 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3065, allocations: 117.7 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3065, allocations: 4 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003343/0.3068, allocations: 176 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3069, allocations: 4 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3069, allocations: 7.938 kB / 438.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3069, allocations: 3.984 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.3071, allocations: 35.98 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3071, allocations: 3.938 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3072, allocations: 27.83 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3072, allocations: 8.031 kB / 438.2 MB, free: 15.09 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.0001462/0.3074, allocations: 126.5 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3074, allocations: 7.953 kB / 438.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.3075, allocations: 20.72 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3075, allocations: 0 / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3075, allocations: 3.984 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3075, allocations: 0 / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.3078, allocations: 220.6 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3078, allocations: 0 / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.308, allocations: 43.91 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.308, allocations: 4 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.308, allocations: 7.938 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.308, allocations: 0 / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.308, allocations: 0 / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.3085, allocations: 291.4 kB / 438.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3085, allocations: 23.94 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3085, allocations: 3.938 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3087, allocations: 19.98 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3087, allocations: 7.984 kB / 439 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.3088, allocations: 4 kB / 439 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.949e-05/0.3088, allocations: 111.3 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3088, allocations: 0 / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3091, allocations: 55.81 kB / 439.2 MB, free: 14.09 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.0007487/0.3099, allocations: 0.8288 MB / 440 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.3102, allocations: 127.9 kB / 440.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3102, allocations: 0 / 440.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3103, allocations: 63.91 kB / 440.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3106, allocations: 27.98 kB / 440.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.3133, allocations: 2.061 MB / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3134, allocations: 111.9 kB / 442.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.3134, allocations: 13.42 kB / 442.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.3135, allocations: 47.42 kB / 442.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3135, allocations: 0 / 442.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.3451, allocations: 4.073 MB / 446.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.2, allocations: 10.97 kB / 446.5 MB, free: 6.742 MB / 350.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.76033487636596]