Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 16 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08056, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002825/0.08344, allocations: 1.69 MB / 274.3 MB, free: 9.824 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.08461, allocations: 0.5344 MB / 274.9 MB, free: 9.289 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.08474, allocations: 4 kB / 274.9 MB, free: 9.285 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.731e-05/0.08482, allocations: 23.83 kB / 274.9 MB, free: 9.262 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.08503, allocations: 67.78 kB / 275 MB, free: 9.195 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.08523, allocations: 43.89 kB / 275 MB, free: 9.152 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.08555, allocations: 155.6 kB / 275.1 MB, free: 9 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.08575, allocations: 62.08 kB / 275.2 MB, free: 8.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.08589, allocations: 71.77 kB / 275.3 MB, free: 8.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.08606, allocations: 87.61 kB / 275.4 MB, free: 8.777 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.08612, allocations: 12 kB / 275.4 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.08618, allocations: 8 kB / 275.4 MB, free: 8.758 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.08623, allocations: 31.91 kB / 275.4 MB, free: 8.727 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.08632, allocations: 57.58 kB / 275.5 MB, free: 8.664 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.0866, allocations: 171.8 kB / 275.6 MB, free: 8.496 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.08662, allocations: 3.938 kB / 275.6 MB, free: 8.492 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08663, allocations: 4 kB / 275.6 MB, free: 8.488 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.08664, allocations: 0 / 275.6 MB, free: 8.488 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.0009876/0.08764, allocations: 474.6 kB / 276.1 MB, free: 7.977 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.0877, allocations: 12.03 kB / 276.1 MB, free: 7.965 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.08778, allocations: 19.81 kB / 276.1 MB, free: 7.945 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.0881, allocations: 210.7 kB / 276.3 MB, free: 7.699 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.08815, allocations: 19.95 kB / 276.4 MB, free: 7.68 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.08821, allocations: 19.98 kB / 276.4 MB, free: 7.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.08877, allocations: 177.6 kB / 276.6 MB, free: 7.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.08879, allocations: 0 / 276.6 MB, free: 7.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.08883, allocations: 4 kB / 276.6 MB, free: 7.477 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.08886, allocations: 12 kB / 276.6 MB, free: 7.465 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.08939, allocations: 151.8 kB / 276.7 MB, free: 7.316 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.09119, allocations: 0.7546 MB / 277.5 MB, free: 6.492 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.09186, allocations: 174.5 kB / 277.6 MB, free: 6.312 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.09189, allocations: 0 / 277.6 MB, free: 6.312 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.09194, allocations: 38.5 kB / 277.7 MB, free: 6.266 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.582e-06/0.09195, allocations: 0 / 277.7 MB, free: 6.266 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.000716/0.09268, allocations: 201.7 kB / 277.9 MB, free: 6.062 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.09273, allocations: 55.41 kB / 277.9 MB, free: 5.996 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.09292, allocations: 146.3 kB / 278.1 MB, free: 5.844 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.09296, allocations: 29.7 kB / 278.1 MB, free: 5.809 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.09307, allocations: 140.2 kB / 278.2 MB, free: 5.668 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.09314, allocations: 39.36 kB / 278.3 MB, free: 5.629 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.09316, allocations: 4 kB / 278.3 MB, free: 5.625 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.09331, allocations: 326.8 kB / 278.6 MB, free: 5.297 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.09354, allocations: 51.97 kB / 278.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.09379, allocations: 80.09 kB / 278.7 MB, free: 5.164 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.09404, allocations: 65.23 kB / 278.8 MB, free: 5.102 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.09406, allocations: 0 / 278.8 MB, free: 5.102 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000567/0.09463, allocations: 187.8 kB / 279 MB, free: 4.914 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.09466, allocations: 8 kB / 279 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.09468, allocations: 0 / 279 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.0947, allocations: 0 / 279 MB, free: 4.906 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.09509, allocations: 51.86 kB / 279 MB, free: 4.855 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.09511, allocations: 0 / 279 MB, free: 4.855 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.09529, allocations: 19.84 kB / 279.1 MB, free: 4.836 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.09532, allocations: 4 kB / 279.1 MB, free: 4.832 MB / 234.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.0001363/0.09547, allocations: 133.8 kB / 279.2 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.09553, allocations: 11.84 kB / 279.2 MB, free: 4.68 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.0956, allocations: 20.83 kB / 279.2 MB, free: 4.66 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.09562, allocations: 0 / 279.2 MB, free: 4.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.09563, allocations: 0 / 279.2 MB, free: 4.66 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.09571, allocations: 96.81 kB / 279.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.09576, allocations: 11.92 kB / 279.3 MB, free: 4.535 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.09602, allocations: 19.98 kB / 279.4 MB, free: 4.516 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.09609, allocations: 11.98 kB / 279.4 MB, free: 4.504 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008183/0.09692, allocations: 245.4 kB / 279.6 MB, free: 4.258 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008222/0.09775, allocations: 398.6 kB / 280 MB, free: 3.852 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002172/0.09799, allocations: 60 kB / 280.1 MB, free: 3.793 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.09813, allocations: 114.6 kB / 280.2 MB, free: 3.684 MB / 234.7 MB Notification: Performance of Backend: time 1.252e-06/0.09815, allocations: 0 / 280.2 MB, free: 3.684 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.09874, allocations: 166.3 kB / 280.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of SimCode: time 0.001581/0.1003, allocations: 1.047 MB / 281.4 MB, free: 2.422 MB / 234.7 MB Notification: Performance of Templates: time 0.008479/0.1088, allocations: 1.773 MB / 283.1 MB, free: 0.6523 MB / 234.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