Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009264/0.0009264, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004468/0.004468, allocations: 161.5 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8973/0.8973, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.575e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002389/0.002415, allocations: 2.008 MB / 300.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.003372, allocations: 0.5502 MB / 301 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.003494, allocations: 4 kB / 301 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.003629, allocations: 39.64 kB / 301 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.00372, allocations: 51.5 kB / 301.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.003934, allocations: 55.84 kB / 301.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.004154, allocations: 238.9 kB / 301.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.004316, allocations: 53.77 kB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.00445, allocations: 139.8 kB / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.004543, allocations: 71.78 kB / 301.6 MB, free: 300 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.004576, allocations: 20 kB / 301.7 MB, free: 280 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.004596, allocations: 20 kB / 301.7 MB, free: 260 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.004627, allocations: 43.83 kB / 301.7 MB, free: 216 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.004681, allocations: 79.83 kB / 301.8 MB, free: 136 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1286/0.1333, allocations: 241.9 kB / 302 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1333, allocations: 0.5625 kB / 302 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1333, allocations: 0 / 302 MB, free: 13.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1333, allocations: 1.125 kB / 302 MB, free: 13.62 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.0006019/0.1339, allocations: 426.6 kB / 302.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1339, allocations: 16.48 kB / 302.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.134, allocations: 55.12 kB / 302.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.134, allocations: 19.19 kB / 302.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1343, allocations: 161.1 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1343, allocations: 12.31 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.1343, allocations: 18.19 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.1346, allocations: 227.2 kB / 303 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1346, allocations: 192 / 303 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1347, allocations: 11.75 kB / 303 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.1347, allocations: 8.469 kB / 303 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.1349, allocations: 140.8 kB / 303.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.1356, allocations: 0.665 MB / 303.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1358, allocations: 146.4 kB / 303.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1359, allocations: 87.47 kB / 304 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.1359, allocations: 3.062 kB / 304 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.136, allocations: 37.08 kB / 304 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.136, allocations: 2.016 kB / 304 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003059/0.1363, allocations: 190 kB / 304.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.1363, allocations: 52.56 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.1364, allocations: 157 kB / 304.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.1364, allocations: 29.02 kB / 304.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.1364, allocations: 139.7 kB / 304.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1365, allocations: 52.28 kB / 304.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.1365, allocations: 33.39 kB / 304.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.1365, allocations: 320.5 kB / 305 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.1366, allocations: 54.28 kB / 305.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.1367, allocations: 73.42 kB / 305.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1369, allocations: 120.4 kB / 305.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1369, allocations: 0.5469 kB / 305.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002133/0.1371, allocations: 186.2 kB / 305.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1371, allocations: 5.812 kB / 305.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1371, allocations: 0.75 kB / 305.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1371, allocations: 1.469 kB / 305.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1373, allocations: 48.55 kB / 305.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1373, allocations: 6.438 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.1373, allocations: 19.2 kB / 305.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1373, allocations: 4.188 kB / 305.5 MB, free: 11.79 MB / 282.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.159e-05/0.1374, allocations: 128.5 kB / 305.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1374, allocations: 10.73 kB / 305.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.1374, allocations: 19.59 kB / 305.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1374, allocations: 1.438 kB / 305.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1374, allocations: 0.75 kB / 305.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1374, allocations: 5.797 kB / 305.7 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1376, allocations: 216 kB / 305.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1376, allocations: 2.734 kB / 305.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1377, allocations: 38.72 kB / 305.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1377, allocations: 1.156 kB / 305.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1377, allocations: 9.844 kB / 305.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1377, allocations: 5 kB / 305.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1377, allocations: 0 / 305.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.138, allocations: 298.2 kB / 306.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.138, allocations: 20.89 kB / 306.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.138, allocations: 5.375 kB / 306.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.1381, allocations: 14.55 kB / 306.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1382, allocations: 12.31 kB / 306.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1382, allocations: 7.312 kB / 306.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.1382, allocations: 114.8 kB / 306.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1382, allocations: 0 / 306.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000169/0.1384, allocations: 47.98 kB / 306.4 MB, free: 11.18 MB / 282.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.0003455/0.1387, allocations: 0.8306 MB / 307.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1389, allocations: 117.8 kB / 307.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.1389, allocations: 0 / 307.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.139, allocations: 63.52 kB / 307.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1392, allocations: 28 kB / 307.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1406, allocations: 1.982 MB / 309.5 MB, free: 8.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.1407, allocations: 109.8 kB / 309.6 MB, free: 8.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.1407, allocations: 12.55 kB / 309.6 MB, free: 8.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.1408, allocations: 54.97 kB / 309.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1408, allocations: 0 / 309.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.1603, allocations: 4.198 MB / 313.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.196, allocations: 5.281 kB / 313.8 MB, free: 7.48 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.013934426009655]