Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.1 kB / 17.36 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007272/0.0007272, allocations: 92.83 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002236/0.0002236, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2071, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001632/0.2088, allocations: 1.761 MB / 378.4 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006631/0.2095, allocations: 0.552 MB / 378.9 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.2096, allocations: 8 kB / 378.9 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.918e-05/0.2097, allocations: 27.25 kB / 378.9 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.2097, allocations: 45.8 kB / 379 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.2099, allocations: 44.36 kB / 379 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.2101, allocations: 220.4 kB / 379.2 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2102, allocations: 66.36 kB / 379.3 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.2103, allocations: 73.62 kB / 379.4 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.2104, allocations: 90.3 kB / 379.5 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.2105, allocations: 11.06 kB / 379.5 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.2105, allocations: 11.5 kB / 379.5 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.2106, allocations: 32.66 kB / 379.5 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.2106, allocations: 116.8 kB / 379.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.2108, allocations: 218.5 kB / 379.9 MB, free: 43.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2108, allocations: 0 / 379.9 MB, free: 43.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2108, allocations: 1.094 kB / 379.9 MB, free: 43.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2108, allocations: 3.938 kB / 379.9 MB, free: 43.07 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.0005468/0.2114, allocations: 468.5 kB / 380.3 MB, free: 42.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2114, allocations: 14.08 kB / 380.3 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.2115, allocations: 18.44 kB / 380.4 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.2117, allocations: 218.3 kB / 380.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2117, allocations: 12.56 kB / 380.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.2117, allocations: 27.53 kB / 380.6 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.212, allocations: 181.9 kB / 380.8 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.212, allocations: 0 / 380.8 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2121, allocations: 6.656 kB / 380.8 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2121, allocations: 4.188 kB / 380.8 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.2124, allocations: 155.3 kB / 380.9 MB, free: 42.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009287/0.2133, allocations: 0.7511 MB / 381.7 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.2136, allocations: 174.5 kB / 381.9 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.2138, allocations: 103 kB / 382 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2138, allocations: 5.625 kB / 382 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2139, allocations: 31.38 kB / 382 MB, free: 41.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.2139, allocations: 0 / 382 MB, free: 41.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004069/0.2143, allocations: 199.1 kB / 382.2 MB, free: 41.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.2143, allocations: 60.72 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.2144, allocations: 155 kB / 382.4 MB, free: 41.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2144, allocations: 25.7 kB / 382.4 MB, free: 41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.2145, allocations: 137 kB / 382.6 MB, free: 40.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.2145, allocations: 53.38 kB / 382.6 MB, free: 40.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/0.2145, allocations: 1.5 kB / 382.6 MB, free: 40.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.2146, allocations: 325.2 kB / 382.9 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2147, allocations: 53.81 kB / 383 MB, free: 40.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2148, allocations: 78.38 kB / 383.1 MB, free: 40.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.215, allocations: 129.2 kB / 383.2 MB, free: 40.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.215, allocations: 0 / 383.2 MB, free: 40.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002807/0.2153, allocations: 184.3 kB / 383.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2153, allocations: 5.312 kB / 383.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2153, allocations: 1.25 kB / 383.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2154, allocations: 5 kB / 383.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2156, allocations: 46.06 kB / 383.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2156, allocations: 2.188 kB / 383.4 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.2157, allocations: 22.91 kB / 383.5 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.2157, allocations: 4.094 kB / 383.5 MB, free: 40.23 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 7.333e-05/0.2158, allocations: 127.7 kB / 383.6 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.2158, allocations: 10.91 kB / 383.6 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.2159, allocations: 27.16 kB / 383.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2159, allocations: 5.078 kB / 383.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2159, allocations: 0 / 383.6 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2159, allocations: 5.125 kB / 383.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.2161, allocations: 261.9 kB / 383.9 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2161, allocations: 0 / 383.9 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.2163, allocations: 47 kB / 383.9 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2164, allocations: 1.031 kB / 383.9 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2164, allocations: 5.469 kB / 383.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2164, allocations: 4 kB / 383.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2164, allocations: 0 / 383.9 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.2168, allocations: 318.3 kB / 384.3 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2168, allocations: 93.42 kB / 384.3 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2169, allocations: 3.938 kB / 384.3 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.217, allocations: 22.69 kB / 384.4 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2171, allocations: 12.55 kB / 384.4 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2171, allocations: 3.531 kB / 384.4 MB, free: 39.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.2172, allocations: 112.2 kB / 384.5 MB, free: 39.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2172, allocations: 0 / 384.5 MB, free: 39.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.2174, allocations: 47.88 kB / 384.5 MB, free: 39.34 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 9.806e-05/0.2175, allocations: 113.6 kB / 384.7 MB, free: 39.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.2178, allocations: 131.3 kB / 384.8 MB, free: 39.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2178, allocations: 0 / 384.8 MB, free: 39.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2179, allocations: 63.72 kB / 384.8 MB, free: 39.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.2183, allocations: 27.83 kB / 384.9 MB, free: 39.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.2191, allocations: 0.642 MB / 385.5 MB, free: 38.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2192, allocations: 0.725 MB / 386.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.2193, allocations: 11.92 kB / 386.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.2194, allocations: 13.97 kB / 386.3 MB, free: 37.9 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2194, allocations: 0 / 386.3 MB, free: 37.9 MB / 298.7 MB Notification: Performance of Templates: time 0.003526/0.2229, allocations: 1.521 MB / 387.8 MB, free: 36.9 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) 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","../files/Modelica_3.2.3_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