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.001697/0.001697, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002165/0.002165, allocations: 207.2 kB / 23.73 MB, free: 4.523 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001531/0.001531, allocations: 51.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.299, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003467/0.3025, allocations: 2.034 MB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3035, allocations: 0.5493 MB / 433.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3036, allocations: 4 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3038, allocations: 27.72 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3039, allocations: 55.48 kB / 433.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.3041, allocations: 59.92 kB / 433.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.3044, allocations: 235 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3045, allocations: 61.77 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3047, allocations: 83.78 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.3048, allocations: 95.61 kB / 434.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.3048, allocations: 27.94 kB / 434.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.3049, allocations: 24 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.3049, allocations: 47.83 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.305, allocations: 87.59 kB / 434.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.3053, allocations: 236.8 kB / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3053, allocations: 0 / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3053, allocations: 0 / 434.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3053, allocations: 0 / 434.7 MB, free: 3.039 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.0007191/0.306, allocations: 429.5 kB / 435.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3061, allocations: 8.031 kB / 435.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.3061, allocations: 54.72 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3062, allocations: 24.8 kB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3065, allocations: 170.2 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3065, allocations: 16.31 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.3065, allocations: 24.36 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.3069, allocations: 229.1 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3069, allocations: 0 / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3069, allocations: 16 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.307, allocations: 4 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.3073, allocations: 139.8 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3084, allocations: 0.6565 MB / 436.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.3088, allocations: 142.6 kB / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.309, allocations: 84.83 kB / 436.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.309, allocations: 4 kB / 436.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.309, allocations: 42.55 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.309, allocations: 4 kB / 436.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004744/0.3095, allocations: 189.7 kB / 436.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3095, allocations: 55.34 kB / 437 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3097, allocations: 159.8 kB / 437.1 MB, free: 444 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3097, allocations: 25.7 kB / 437.1 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.3098, allocations: 136.2 kB / 437.3 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3098, allocations: 47.64 kB / 437.3 MB, free: 224 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.3099, allocations: 37.66 kB / 437.3 MB, free: 180 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.31, allocations: 326.8 kB / 437.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3102, allocations: 47.98 kB / 437.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3103, allocations: 71.73 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.3106, allocations: 129.6 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3106, allocations: 0 / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003293/0.3109, allocations: 172.1 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3109, allocations: 8 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3109, allocations: 11.88 kB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3109, allocations: 3.984 kB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.3111, allocations: 39.98 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3111, allocations: 0 / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3112, allocations: 23.83 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3113, allocations: 8 kB / 438.2 MB, free: 15.33 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.0001132/0.3114, allocations: 125.8 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.3114, allocations: 7.953 kB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.3114, allocations: 24.72 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3114, allocations: 0 / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3114, allocations: 3.984 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3115, allocations: 0 / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.3117, allocations: 224.6 kB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3117, allocations: 0 / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.3119, allocations: 35.97 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3119, allocations: 0 / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.312, allocations: 7.938 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.312, allocations: 4 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.312, allocations: 4 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3125, allocations: 297.6 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.3125, allocations: 15.94 kB / 438.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3125, allocations: 7.938 kB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3127, allocations: 11.98 kB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.3127, allocations: 11.98 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3128, allocations: 4 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3129, allocations: 122.4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3129, allocations: 0 / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3132, allocations: 47.89 kB / 439.1 MB, free: 14.33 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.0007978/0.314, allocations: 0.828 MB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.3143, allocations: 123.9 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3143, allocations: 4.062 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3144, allocations: 63.91 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3148, allocations: 28.16 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.3176, allocations: 2.066 MB / 442.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.3177, allocations: 107.9 kB / 442.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.3178, allocations: 17.42 kB / 442.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.3179, allocations: 47.42 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3179, allocations: 0 / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.354, allocations: 4.132 MB / 446.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.95, allocations: 8.75 kB / 446.5 MB, free: 6.941 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.44775628397474]