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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 104.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 194.9 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 51.91 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2311, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002853/0.234, allocations: 2.143 MB / 403.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.2348, allocations: 0.5376 MB / 404.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.2349, allocations: 4 kB / 404.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.235, allocations: 27.72 kB / 404.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.2351, allocations: 55.48 kB / 404.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2353, allocations: 59.92 kB / 404.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.2355, allocations: 231 kB / 404.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2357, allocations: 77.66 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.2358, allocations: 91.64 kB / 404.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2359, allocations: 95.61 kB / 404.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.236, allocations: 23.94 kB / 404.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.654e-05/0.236, allocations: 20 kB / 404.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.2361, allocations: 51.89 kB / 404.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.2362, allocations: 103.5 kB / 404.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2364, allocations: 232.3 kB / 405.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2364, allocations: 4 kB / 405.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2364, allocations: 0 / 405.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2364, allocations: 0 / 405.2 MB, free: 5.129 MB / 318.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.000732/0.2372, allocations: 494.8 kB / 405.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2372, allocations: 16.02 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.2373, allocations: 16.75 kB / 405.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.2375, allocations: 216 kB / 405.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2375, allocations: 16.38 kB / 405.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.2376, allocations: 20.31 kB / 405.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.2379, allocations: 181.8 kB / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.238, allocations: 0 / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.238, allocations: 20 kB / 406.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.238, allocations: 4 kB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.2383, allocations: 139.9 kB / 406.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.2395, allocations: 0.7429 MB / 407 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2399, allocations: 162.5 kB / 407.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.2401, allocations: 96.81 kB / 407.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2401, allocations: 4 kB / 407.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2401, allocations: 30.56 kB / 407.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2401, allocations: 0 / 407.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004549/0.2406, allocations: 185.8 kB / 407.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.2406, allocations: 51.41 kB / 407.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2408, allocations: 159.2 kB / 407.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.2408, allocations: 29.7 kB / 407.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.2409, allocations: 136.1 kB / 407.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.2409, allocations: 47.3 kB / 407.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.241, allocations: 33.7 kB / 407.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2411, allocations: 322.8 kB / 408.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2412, allocations: 51.97 kB / 408.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2414, allocations: 80.73 kB / 408.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.2416, allocations: 113.7 kB / 408.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2416, allocations: 3.938 kB / 408.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003247/0.242, allocations: 181.3 kB / 408.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.242, allocations: 15 kB / 408.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.242, allocations: 0 / 408.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.242, allocations: 7.875 kB / 408.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2422, allocations: 43.91 kB / 408.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2423, allocations: 4 kB / 408.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2424, allocations: 15.84 kB / 408.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2424, allocations: 7.984 kB / 408.7 MB, free: 1.293 MB / 318.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 9.307e-05/0.2425, allocations: 125.8 kB / 408.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.2425, allocations: 15.91 kB / 408.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.2426, allocations: 16.83 kB / 408.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2426, allocations: 3.938 kB / 408.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2426, allocations: 0 / 408.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.2427, allocations: 88.95 kB / 409 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2427, allocations: 8 kB / 409 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2429, allocations: 7.984 kB / 409 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2429, allocations: 11.98 kB / 409 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004988/0.2434, allocations: 246.8 kB / 409.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004994/0.2439, allocations: 374.6 kB / 409.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001215/0.2441, allocations: 56 kB / 409.7 MB, free: 312 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.108e-05/0.2441, allocations: 113.3 kB / 409.8 MB, free: 200 kB / 318.1 MB Notification: Performance of Backend: time 8.195e-06/0.2442, allocations: 0 / 409.8 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.2446, allocations: 166.2 kB / 409.9 MB, free: 28 kB / 318.1 MB Notification: Performance of SimCode: time 0.0009228/0.2455, allocations: 0.9414 MB / 410.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.004436/0.25, allocations: 2.054 MB / 412.9 MB, free: 13 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time