Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008659/0.000866, allocations: 183.6 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 225.7 MB / 243.2 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007807/0.0007807, allocations: 98.02 kB / 294.4 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002801, allocations: 11.94 kB / 354.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2075, allocations: 50.4 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.0015/0.209, allocations: 1.777 MB / 406.3 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.2096, allocations: 0.5154 MB / 406.9 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.2097, allocations: 4 kB / 406.9 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.324e-05/0.2098, allocations: 19.84 kB / 406.9 MB, free: 29.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.2099, allocations: 44.27 kB / 406.9 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.21, allocations: 44.73 kB / 407 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.2102, allocations: 227 kB / 407.2 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2103, allocations: 63.08 kB / 407.3 MB, free: 28.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.2104, allocations: 75.78 kB / 407.3 MB, free: 28.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.2105, allocations: 87.61 kB / 407.4 MB, free: 28.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2105, allocations: 8 kB / 407.4 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.2106, allocations: 19.88 kB / 407.4 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.2106, allocations: 35.89 kB / 407.5 MB, free: 28.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.2107, allocations: 113.2 kB / 407.6 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2108, allocations: 216.7 kB / 407.8 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2108, allocations: 0 / 407.8 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2108, allocations: 3.938 kB / 407.8 MB, free: 28.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2108, allocations: 0 / 407.8 MB, free: 28.14 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.0005292/0.2114, allocations: 470.9 kB / 408.3 MB, free: 27.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2114, allocations: 8.031 kB / 408.3 MB, free: 27.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.2115, allocations: 20.75 kB / 408.3 MB, free: 27.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2116, allocations: 224 kB / 408.5 MB, free: 27.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2116, allocations: 16.38 kB / 408.5 MB, free: 27.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2117, allocations: 24.28 kB / 408.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.212, allocations: 181.9 kB / 408.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.212, allocations: 0 / 408.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.212, allocations: 8 kB / 408.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.212, allocations: 8 kB / 408.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.2123, allocations: 147.9 kB / 408.9 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.2132, allocations: 0.7585 MB / 409.6 MB, free: 26.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2135, allocations: 174.5 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.2137, allocations: 100.8 kB / 409.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2137, allocations: 0 / 409.9 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.2137, allocations: 34.55 kB / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.62e-07/0.2137, allocations: 0 / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003601/0.2141, allocations: 201.7 kB / 410.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.2141, allocations: 55.34 kB / 410.2 MB, free: 25.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.2142, allocations: 157.7 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.2142, allocations: 29.7 kB / 410.4 MB, free: 25.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.2143, allocations: 132.2 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.2143, allocations: 51.27 kB / 410.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/0.2143, allocations: 4 kB / 410.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.2143, allocations: 318.8 kB / 410.9 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2144, allocations: 55.97 kB / 410.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2146, allocations: 83.02 kB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2148, allocations: 125.6 kB / 411.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2148, allocations: 0 / 411.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002623/0.215, allocations: 189.4 kB / 411.3 MB, free: 24.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.2151, allocations: 4 kB / 411.3 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2151, allocations: 0 / 411.3 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2151, allocations: 7.938 kB / 411.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2153, allocations: 47.84 kB / 411.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2153, allocations: 8.031 kB / 411.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.2154, allocations: 15.84 kB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.2154, allocations: 4 kB / 411.4 MB, free: 24.29 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 6.217e-05/0.2155, allocations: 133.7 kB / 411.5 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.2155, allocations: 11.91 kB / 411.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.2155, allocations: 20.77 kB / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2156, allocations: 7.938 kB / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2156, allocations: 0 / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2156, allocations: 4 kB / 411.6 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.2158, allocations: 269.4 kB / 411.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2158, allocations: 0 / 411.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.216, allocations: 39.97 kB / 411.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.216, allocations: 0 / 411.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.216, allocations: 3.938 kB / 411.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.216, allocations: 8 kB / 411.9 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.216, allocations: 0 / 411.9 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2163, allocations: 307.2 kB / 412.2 MB, free: 23.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.2164, allocations: 93.14 kB / 412.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2164, allocations: 7.922 kB / 412.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2166, allocations: 23.98 kB / 412.3 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2166, allocations: 8 kB / 412.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2166, allocations: 7.984 kB / 412.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.2167, allocations: 111.3 kB / 412.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2167, allocations: 0 / 412.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.2169, allocations: 47.84 kB / 412.5 MB, free: 23.11 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 7.037e-05/0.217, allocations: 108.6 kB / 412.6 MB, free: 23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.2172, allocations: 131.9 kB / 412.7 MB, free: 22.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2172, allocations: 0 / 412.7 MB, free: 22.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2173, allocations: 63.91 kB / 412.8 MB, free: 22.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2176, allocations: 28.92 kB / 412.8 MB, free: 22.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.2184, allocations: 0.6537 MB / 413.5 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2185, allocations: 0.7243 MB / 414.2 MB, free: 21.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.2186, allocations: 13.42 kB / 414.2 MB, free: 21.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.2186, allocations: 15.44 kB / 414.2 MB, free: 21.32 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2186, allocations: 0 / 414.2 MB, free: 21.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003049/0.2217, allocations: 1.506 MB / 415.7 MB, free: 19.82 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../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