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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002276/0.002276, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001665/0.001665, allocations: 51.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2608, allocations: 53.37 MB / 431.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003351/0.2641, allocations: 2.036 MB / 433.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2652, allocations: 0.5454 MB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2653, allocations: 8 kB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2654, allocations: 27.7 kB / 433.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2655, allocations: 55.48 kB / 433.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.2657, allocations: 51.94 kB / 433.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.266, allocations: 239 kB / 434 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.2662, allocations: 57.77 kB / 434.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2663, allocations: 83.77 kB / 434.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2664, allocations: 87.61 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.2665, allocations: 20 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.2665, allocations: 24 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.2666, allocations: 43.84 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2667, allocations: 91.58 kB / 434.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.267, allocations: 237.1 kB / 434.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.267, allocations: 0 / 434.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.267, allocations: 0 / 434.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.267, allocations: 0 / 434.7 MB, free: 3.191 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.0007333/0.2677, allocations: 425.5 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2677, allocations: 12.03 kB / 435.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.2678, allocations: 50.73 kB / 435.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.2679, allocations: 24.8 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2682, allocations: 170.2 kB / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2682, allocations: 16.38 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.2682, allocations: 16.38 kB / 435.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.2686, allocations: 233 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2686, allocations: 3.984 kB / 435.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.2686, allocations: 12 kB / 435.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2687, allocations: 7.984 kB / 435.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.269, allocations: 139.8 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2701, allocations: 0.6603 MB / 436.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.2705, allocations: 146.5 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2707, allocations: 92.83 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.2707, allocations: 4 kB / 436.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2708, allocations: 34.56 kB / 436.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2708, allocations: 3.938 kB / 436.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004704/0.2712, allocations: 188.2 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2713, allocations: 59.34 kB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2714, allocations: 156 kB / 437.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2715, allocations: 25.7 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.2715, allocations: 136.2 kB / 437.2 MB, free: 428 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.2716, allocations: 55.62 kB / 437.3 MB, free: 372 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.2717, allocations: 29.67 kB / 437.3 MB, free: 336 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2718, allocations: 326.8 kB / 437.7 MB, free: 0 / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2719, allocations: 51.97 kB / 437.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2721, allocations: 71.75 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2723, allocations: 120.4 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2723, allocations: 4 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003252/0.2726, allocations: 185.4 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2726, allocations: 4 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2727, allocations: 3.938 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2727, allocations: 4 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.2729, allocations: 39.97 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2729, allocations: 0 / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.273, allocations: 19.84 kB / 438.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.273, allocations: 8 kB / 438.2 MB, free: 15.48 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.000111/0.2731, allocations: 129.8 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2732, allocations: 11.95 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.2732, allocations: 24.72 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2732, allocations: 0 / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2732, allocations: 0 / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2732, allocations: 0 / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.2735, allocations: 224.6 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2735, allocations: 0 / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.2737, allocations: 35.98 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2737, allocations: 0 / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2737, allocations: 11.92 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2737, allocations: 4 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2737, allocations: 3.938 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.2742, allocations: 291.4 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.2742, allocations: 11.91 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.2742, allocations: 7.938 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2744, allocations: 12.03 kB / 438.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.2744, allocations: 15.98 kB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2744, allocations: 4 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.367e-05/0.2745, allocations: 118.2 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2745, allocations: 0 / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.2748, allocations: 47.89 kB / 439.1 MB, free: 14.48 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.000756/0.2755, allocations: 0.8322 MB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.2759, allocations: 123.9 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2759, allocations: 3.938 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.276, allocations: 63.86 kB / 440.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2763, allocations: 30.45 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.2789, allocations: 2.063 MB / 442.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.279, allocations: 111.9 kB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.279, allocations: 13.42 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.2791, allocations: 47.42 kB / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2791, allocations: 0 / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.3087, allocations: 4.068 MB / 446.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.23, allocations: 11.84 kB / 446.4 MB, free: 7.16 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.68616886017844]