Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 76.08 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 149.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.941/0.941, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.748e-05, allocations: 2.281 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002613/0.00264, allocations: 2.011 MB / 320.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.003542, allocations: 0.5221 MB / 321 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.003661, allocations: 4 kB / 321 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.003798, allocations: 35.7 kB / 321 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.00389, allocations: 59.36 kB / 321.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.004094, allocations: 55.86 kB / 321.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.004321, allocations: 242.8 kB / 321.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.00448, allocations: 57.77 kB / 321.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.004632, allocations: 135.8 kB / 321.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004733, allocations: 67.78 kB / 321.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.004765, allocations: 24 kB / 321.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.004788, allocations: 20 kB / 321.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.004819, allocations: 39.89 kB / 321.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.00488, allocations: 79.81 kB / 321.8 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.00509, allocations: 243.2 kB / 322 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005092, allocations: 0 / 322 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005093, allocations: 0 / 322 MB, free: 2.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.005098, allocations: 0 / 322 MB, free: 2.738 MB / 282.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.0005536/0.005652, allocations: 424.8 kB / 322.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.005696, allocations: 12.92 kB / 322.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.005737, allocations: 50.73 kB / 322.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.005778, allocations: 24.8 kB / 322.5 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.005991, allocations: 153.5 kB / 322.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.006008, allocations: 16.33 kB / 322.7 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.006037, allocations: 24.38 kB / 322.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.006315, allocations: 233.5 kB / 322.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006322, allocations: 192 / 322.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.006339, allocations: 12.12 kB / 323 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.006348, allocations: 8 kB / 323 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.006548, allocations: 135.9 kB / 323.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.007397, allocations: 0.6725 MB / 323.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.007658, allocations: 142.6 kB / 323.9 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.007779, allocations: 96.75 kB / 324 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.007789, allocations: 0 / 324 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.007814, allocations: 38.56 kB / 324 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.007815, allocations: 0 / 324 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.000303/0.008118, allocations: 177.8 kB / 324.2 MB, free: 392 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.008149, allocations: 55.41 kB / 324.3 MB, free: 324 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.008252, allocations: 156.7 kB / 324.4 MB, free: 160 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.008268, allocations: 33.7 kB / 324.4 MB, free: 120 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.00835, allocations: 136.3 kB / 324.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.00838, allocations: 43.55 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.008426, allocations: 37.7 kB / 324.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.008509, allocations: 322.8 kB / 325 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.008585, allocations: 55.86 kB / 325 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.008672, allocations: 77.62 kB / 325.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.008824, allocations: 120.5 kB / 325.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008826, allocations: 0 / 325.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000204/0.00903, allocations: 177.5 kB / 325.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.009044, allocations: 4 kB / 325.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.009049, allocations: 0 / 325.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.009061, allocations: 3.984 kB / 325.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.009192, allocations: 39.98 kB / 325.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.009199, allocations: 7.875 kB / 325.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.009252, allocations: 19.91 kB / 325.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.00926, allocations: 8 kB / 325.5 MB, free: 15.05 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 8.488e-05/0.009345, allocations: 125.8 kB / 325.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.009369, allocations: 15.91 kB / 325.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.009393, allocations: 16.77 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.009396, allocations: 4 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.009403, allocations: 7.922 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.009407, allocations: 0 / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.009589, allocations: 220.6 kB / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00959, allocations: 0 / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.009709, allocations: 47.91 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.009711, allocations: 0 / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.009719, allocations: 0 / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00972, allocations: 0 / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.009722, allocations: 3.938 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.01002, allocations: 301.9 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.01004, allocations: 19.88 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.01005, allocations: 4 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.01013, allocations: 19.98 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.01016, allocations: 11.92 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.01017, allocations: 0 / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.01023, allocations: 118.4 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01023, allocations: 4 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.01043, allocations: 47.89 kB / 326.4 MB, free: 14.04 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.0004682/0.0109, allocations: 0.8217 MB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.01113, allocations: 119.9 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01113, allocations: 0 / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.01121, allocations: 63.91 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01147, allocations: 23.92 kB / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.01321, allocations: 1.994 MB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.0133, allocations: 112.1 kB / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.01335, allocations: 13.48 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.01342, allocations: 52.48 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01342, allocations: 0 / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.03202, allocations: 4.193 MB / 333.8 MB, free: 6.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.953, allocations: 2.062 kB / 333.8 MB, free: 6.66 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [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.940423942171037]