Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003437, allocations: 16 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09086, allocations: 44.49 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002857/0.09377, allocations: 1.703 MB / 310.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.09502, allocations: 0.5467 MB / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.09517, allocations: 0 / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.887e-05/0.09526, allocations: 27.83 kB / 311.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.09547, allocations: 63.8 kB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.09569, allocations: 47.88 kB / 311.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.09604, allocations: 151.6 kB / 311.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.09624, allocations: 66.06 kB / 311.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.09638, allocations: 71.78 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.09656, allocations: 83.61 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.09662, allocations: 16 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.09668, allocations: 12 kB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.09674, allocations: 27.91 kB / 311.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.09681, allocations: 65.52 kB / 311.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.09707, allocations: 171.8 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.09709, allocations: 0 / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.0971, allocations: 0 / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.09711, allocations: 0 / 312.1 MB, free: 13.3 MB / 266.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.0008992/0.09802, allocations: 466.8 kB / 312.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.09808, allocations: 8.031 kB / 312.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.09816, allocations: 19.72 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.09846, allocations: 222.6 kB / 312.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.0985, allocations: 16 kB / 312.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.09857, allocations: 16 kB / 312.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.09911, allocations: 181.5 kB / 313 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.09914, allocations: 4 kB / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.09919, allocations: 4 kB / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.0992, allocations: 4 kB / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.09974, allocations: 147.9 kB / 313.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.1015, allocations: 0.7663 MB / 313.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.1022, allocations: 170.6 kB / 314.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1022, allocations: 3.984 kB / 314.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1023, allocations: 34.5 kB / 314.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/0.1023, allocations: 0 / 314.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007429/0.1031, allocations: 201.8 kB / 314.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1031, allocations: 55.39 kB / 314.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1033, allocations: 150.3 kB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1033, allocations: 29.7 kB / 314.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1035, allocations: 132.1 kB / 314.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.1035, allocations: 51.3 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.1035, allocations: 4 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1037, allocations: 318.8 kB / 315 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1039, allocations: 59.97 kB / 315.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1042, allocations: 73.69 kB / 315.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1044, allocations: 63.92 kB / 315.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1045, allocations: 3.938 kB / 315.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00058/0.1051, allocations: 186.8 kB / 315.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1051, allocations: 4 kB / 315.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1051, allocations: 0 / 315.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1051, allocations: 4 kB / 315.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.1055, allocations: 47.94 kB / 315.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1056, allocations: 4 kB / 315.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1057, allocations: 15.84 kB / 315.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1058, allocations: 4 kB / 315.5 MB, free: 9.641 MB / 266.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.1059, allocations: 129.8 kB / 315.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.106, allocations: 19.77 kB / 315.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.1061, allocations: 16.83 kB / 315.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1061, allocations: 4 kB / 315.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1061, allocations: 4 kB / 315.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.1062, allocations: 84.95 kB / 315.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1062, allocations: 8 kB / 315.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1065, allocations: 11.98 kB / 315.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.1065, allocations: 11.98 kB / 315.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008317/0.1074, allocations: 252.9 kB / 316 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008323/0.1082, allocations: 395.1 kB / 316.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002135/0.1085, allocations: 60 kB / 316.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1086, allocations: 114.8 kB / 316.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of Backend: time 8.71e-07/0.1086, allocations: 4 kB / 316.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.1092, allocations: 164.6 kB / 316.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of SimCode: time 0.001521/0.1107, allocations: 1.05 MB / 317.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of Templates: time 0.006701/0.1175, allocations: 1.772 MB / 319.6 MB, free: 5.465 MB / 266.7 MB "" 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