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.001958/0.001958, allocations: 95.66 kB / 21.73 MB, free: 2.684 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.002137/0.002137, allocations: 163.4 kB / 25.03 MB, free: 8.422 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 1.406/1.406, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 250.4 MB, free: 7.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.784e-05/3.97e-05, allocations: 2.312 kB / 250.4 MB, free: 7.688 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004345/0.004385, allocations: 2.102 MB / 252.5 MB, free: 5.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.005609, allocations: 0.5619 MB / 253 MB, free: 5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.005725, allocations: 3.938 kB / 253 MB, free: 4.996 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.005893, allocations: 39.7 kB / 253.1 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.006019, allocations: 59.42 kB / 253.1 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.006238, allocations: 51.91 kB / 253.2 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.006626, allocations: 238.9 kB / 253.4 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.006809, allocations: 57.77 kB / 253.5 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.007012, allocations: 131.8 kB / 253.6 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.007165, allocations: 75.78 kB / 253.7 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.007217, allocations: 20 kB / 253.7 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.007262, allocations: 24 kB / 253.7 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.007328, allocations: 43.83 kB / 253.8 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.007435, allocations: 83.81 kB / 253.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.007773, allocations: 235.3 kB / 254.1 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.007777, allocations: 0 / 254.1 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.007779, allocations: 0 / 254.1 MB, free: 3.957 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.007785, allocations: 0 / 254.1 MB, free: 3.957 MB / 234.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.0009211/0.008706, allocations: 0.5383 MB / 254.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.008751, allocations: 11.98 kB / 254.6 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.008844, allocations: 32.84 kB / 254.7 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.009139, allocations: 172.2 kB / 254.8 MB, free: 3.145 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.009164, allocations: 12.38 kB / 254.8 MB, free: 3.133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.009209, allocations: 20.38 kB / 254.9 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.009625, allocations: 221.6 kB / 255.1 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.009637, allocations: 192 / 255.1 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.009661, allocations: 8.375 kB / 255.1 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.009671, allocations: 11.94 kB / 255.1 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.00998, allocations: 131.9 kB / 255.2 MB, free: 2.73 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.0113, allocations: 0.7154 MB / 255.9 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.01168, allocations: 147 kB / 256.1 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.01186, allocations: 83.66 kB / 256.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01188, allocations: 0 / 256.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.01192, allocations: 37.39 kB / 256.2 MB, free: 1.672 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 8.32e-07/0.01192, allocations: 0 / 256.2 MB, free: 1.672 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.000497/0.01242, allocations: 189.7 kB / 256.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.01246, allocations: 55.34 kB / 256.4 MB, free: 1.41 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.01266, allocations: 221.8 kB / 256.7 MB, free: 1.176 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.01269, allocations: 25.7 kB / 256.7 MB, free: 1.145 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.01292, allocations: 191 kB / 256.9 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.01297, allocations: 51.59 kB / 256.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.01304, allocations: 35.38 kB / 257 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.0133, allocations: 0.5 MB / 257.5 MB, free: 356 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.01342, allocations: 51.97 kB / 257.5 MB, free: 304 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01356, allocations: 79.34 kB / 257.6 MB, free: 216 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.0138, allocations: 123.3 kB / 257.7 MB, free: 84 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.0138, allocations: 0 / 257.7 MB, free: 84 kB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003643/0.01416, allocations: 177.5 kB / 257.9 MB, free: 15.9 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01418, allocations: 11.94 kB / 257.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01419, allocations: 0 / 257.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.0142, allocations: 0 / 257.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.01443, allocations: 52 kB / 257.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.01444, allocations: 4 kB / 257.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.01454, allocations: 11.89 kB / 258 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01456, allocations: 4 kB / 258 MB, free: 15.82 MB / 250.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 0.000183/0.01474, allocations: 176.5 kB / 258.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.01478, allocations: 19.95 kB / 258.2 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.01484, allocations: 16.77 kB / 258.2 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.01485, allocations: 4 kB / 258.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01486, allocations: 0 / 258.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01486, allocations: 0 / 258.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.01519, allocations: 216.4 kB / 258.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.0152, allocations: 3.984 kB / 258.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.0154, allocations: 31.98 kB / 258.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.0154, allocations: 4 kB / 258.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01542, allocations: 4 kB / 258.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01542, allocations: 0 / 258.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01542, allocations: 0 / 258.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.01601, allocations: 351.7 kB / 258.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.01604, allocations: 23.84 kB / 258.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01607, allocations: 0 / 258.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.01621, allocations: 11.98 kB / 258.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.01627, allocations: 11.98 kB / 258.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01628, allocations: 0 / 258.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.01641, allocations: 164.2 kB / 259 MB, free: 14.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01641, allocations: 0 / 259 MB, free: 14.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01667, allocations: 47.89 kB / 259 MB, free: 14.69 MB / 250.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.0001225/0.0168, allocations: 99.19 kB / 259.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.01713, allocations: 131.5 kB / 259.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01713, allocations: 0 / 259.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.01726, allocations: 63.61 kB / 259.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.01758, allocations: 35.14 kB / 259.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.01855, allocations: 473.4 kB / 259.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01867, allocations: 108.1 kB / 259.9 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.01873, allocations: 13.14 kB / 259.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.01878, allocations: 16.5 kB / 259.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01878, allocations: 0 / 259.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of Templates: time 0.005228/0.02401, allocations: 1.568 MB / 261.5 MB, free: 12.16 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/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:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 5.08783088310156]