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.0008303/0.0008303, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008524/0.0008524, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9207/0.9207, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.028e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002192/0.002213, allocations: 2.048 MB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.002953, allocations: 0.5532 MB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.003032, allocations: 4 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.003138, allocations: 31.72 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.00325, allocations: 63.36 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.003402, allocations: 59.91 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.003577, allocations: 234.9 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.003711, allocations: 57.77 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003818, allocations: 127.8 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.003909, allocations: 75.77 kB / 327.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.003938, allocations: 20 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.003958, allocations: 20 kB / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.003989, allocations: 43.89 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.00405, allocations: 75.83 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.00424, allocations: 243.2 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004242, allocations: 4 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004243, allocations: 0 / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.004247, allocations: 0 / 328.2 MB, free: 12.24 MB / 298.7 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.0005465/0.004793, allocations: 425.5 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.00483, allocations: 11.98 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.00487, allocations: 46.73 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.004906, allocations: 28.8 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.005129, allocations: 174.2 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.005145, allocations: 12.38 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.005172, allocations: 20.38 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.005431, allocations: 221.6 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005438, allocations: 192 / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.005456, allocations: 16.12 kB / 329.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005462, allocations: 4 kB / 329.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.005642, allocations: 139.9 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.006484, allocations: 0.6609 MB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.006718, allocations: 150.5 kB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.006836, allocations: 88.83 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.006848, allocations: 4 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.006872, allocations: 38.55 kB / 330.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.006873, allocations: 0 / 330.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000302/0.007175, allocations: 197.7 kB / 330.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.007201, allocations: 51.41 kB / 330.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.007295, allocations: 157.7 kB / 330.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.00731, allocations: 29.7 kB / 330.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.007366, allocations: 132.3 kB / 330.7 MB, free: 9.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.007391, allocations: 43.64 kB / 330.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.007432, allocations: 41.66 kB / 330.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.007505, allocations: 318.8 kB / 331.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.007579, allocations: 51.97 kB / 331.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.00766, allocations: 73.69 kB / 331.3 MB, free: 8.926 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.007803, allocations: 124.7 kB / 331.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.007805, allocations: 0 / 331.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001869/0.007992, allocations: 173.4 kB / 331.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.008004, allocations: 4 kB / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008009, allocations: 4 kB / 331.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.00802, allocations: 0 / 331.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.008154, allocations: 47.94 kB / 331.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.00816, allocations: 3.938 kB / 331.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.008211, allocations: 23.84 kB / 331.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.008218, allocations: 4 kB / 331.6 MB, free: 8.539 MB / 298.7 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 6.742e-05/0.008285, allocations: 129.8 kB / 331.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.008304, allocations: 7.953 kB / 331.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.008329, allocations: 20.77 kB / 331.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.008331, allocations: 0 / 331.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.008336, allocations: 3.938 kB / 331.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008339, allocations: 7.938 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.008506, allocations: 228.6 kB / 332 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008508, allocations: 0 / 332 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.00861, allocations: 31.98 kB / 332 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.008612, allocations: 0 / 332 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.008622, allocations: 4 kB / 332.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008624, allocations: 4 kB / 332.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.008626, allocations: 3.938 kB / 332.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.008904, allocations: 303.4 kB / 332.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.00892, allocations: 11.91 kB / 332.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.008934, allocations: 0 / 332.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.00901, allocations: 16.03 kB / 332.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.009044, allocations: 11.92 kB / 332.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.00905, allocations: 4 kB / 332.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.009102, allocations: 118.2 kB / 332.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009102, allocations: 0 / 332.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.009269, allocations: 47.89 kB / 332.6 MB, free: 7.543 MB / 298.7 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.0006901/0.009959, allocations: 0.8397 MB / 333.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.01014, allocations: 112 kB / 333.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01014, allocations: 0 / 333.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.01021, allocations: 63.91 kB / 333.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01043, allocations: 39.97 kB / 333.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.01198, allocations: 1.989 MB / 335.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.01205, allocations: 112.1 kB / 335.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.735e-05/0.01209, allocations: 9.5 kB / 335.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.01216, allocations: 52.47 kB / 335.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01216, allocations: 3.938 kB / 335.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.03033, allocations: 4.2 MB / 340 MB, free: 120 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.71, allocations: 4.062 kB / 340 MB, free: 116 kB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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[50217]=50000.000000 " [Timeout remaining time 660] "" 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: 9.301206165924668]