Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadModel(Modelica): time 1.692/1.692, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 8 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003466/0.1127, allocations: 1.335 MB / 274 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1145, allocations: 479.5 kB / 274.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1146, allocations: 4 kB / 274.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1148, allocations: 11.88 kB / 274.4 MB, free: 9.707 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1151, allocations: 27.89 kB / 274.5 MB, free: 9.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1154, allocations: 31.95 kB / 274.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1156, allocations: 71.84 kB / 274.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1158, allocations: 37.02 kB / 274.6 MB, free: 9.543 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.116, allocations: 31.84 kB / 274.6 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1162, allocations: 31.86 kB / 274.7 MB, free: 9.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1162, allocations: 4 kB / 274.7 MB, free: 9.477 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.1163, allocations: 0 / 274.7 MB, free: 9.477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.1164, allocations: 15.92 kB / 274.7 MB, free: 9.461 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1165, allocations: 41.64 kB / 274.7 MB, free: 9.414 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1167, allocations: 59.81 kB / 274.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1167, allocations: 0 / 274.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1167, allocations: 0 / 274.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1167, allocations: 4 kB / 274.8 MB, free: 9.352 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009476/0.1177, allocations: 407 kB / 275.2 MB, free: 8.906 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.1177, allocations: 12.02 kB / 275.2 MB, free: 8.895 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1178, allocations: 11.91 kB / 275.2 MB, free: 8.883 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.1182, allocations: 203.3 kB / 275.4 MB, free: 8.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1182, allocations: 4 kB / 275.4 MB, free: 8.641 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.1183, allocations: 8 kB / 275.4 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1187, allocations: 85.59 kB / 275.5 MB, free: 8.543 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1187, allocations: 0 / 275.5 MB, free: 8.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.1187, allocations: 4 kB / 275.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1188, allocations: 0 / 275.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.1191, allocations: 43.98 kB / 275.5 MB, free: 8.496 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1201, allocations: 411.9 kB / 276 MB, free: 8.031 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1204, allocations: 62.59 kB / 276 MB, free: 7.961 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1205, allocations: 0 / 276 MB, free: 7.961 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.1205, allocations: 30.56 kB / 276 MB, free: 7.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 3.787e-06/0.1206, allocations: 4 kB / 276 MB, free: 7.918 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006399/0.1212, allocations: 109.6 kB / 276.2 MB, free: 7.805 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1213, allocations: 55.41 kB / 276.2 MB, free: 7.738 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1215, allocations: 139 kB / 276.3 MB, free: 7.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1216, allocations: 29.7 kB / 276.4 MB, free: 7.555 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1217, allocations: 108.1 kB / 276.5 MB, free: 7.445 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.1218, allocations: 23.7 kB / 276.5 MB, free: 7.422 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.1218, allocations: 4 kB / 276.5 MB, free: 7.418 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.122, allocations: 318.8 kB / 276.8 MB, free: 7.098 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1222, allocations: 16 kB / 276.8 MB, free: 7.082 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1223, allocations: 23.98 kB / 276.9 MB, free: 7.059 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1225, allocations: 27.98 kB / 276.9 MB, free: 7.031 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1226, allocations: 4 kB / 276.9 MB, free: 7.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000429/0.123, allocations: 89.77 kB / 277 MB, free: 6.934 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1231, allocations: 4 kB / 277 MB, free: 6.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1231, allocations: 4 kB / 277 MB, free: 6.926 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1231, allocations: 0 / 277 MB, free: 6.926 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.1237, allocations: 39.97 kB / 277 MB, free: 6.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1237, allocations: 3.953 kB / 277 MB, free: 6.883 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1239, allocations: 19.92 kB / 277 MB, free: 6.863 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1239, allocations: 4 kB / 277 MB, free: 6.859 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001772/0.1241, allocations: 113.8 kB / 277.2 MB, free: 6.738 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.1242, allocations: 7.906 kB / 277.2 MB, free: 6.73 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.1243, allocations: 12.25 kB / 277.2 MB, free: 6.723 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.1243, allocations: 7.922 kB / 277.2 MB, free: 6.715 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1243, allocations: 0 / 277.2 MB, free: 6.715 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1244, allocations: 92.97 kB / 277.3 MB, free: 6.605 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.1245, allocations: 7.984 kB / 277.3 MB, free: 6.598 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1247, allocations: 11.92 kB / 277.3 MB, free: 6.586 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.1248, allocations: 4 kB / 277.3 MB, free: 6.582 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008965/0.1257, allocations: 180.9 kB / 277.5 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006986/0.1264, allocations: 290.6 kB / 277.8 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001634/0.1266, allocations: 27.91 kB / 277.8 MB, free: 6.07 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1268, allocations: 115 kB / 277.9 MB, free: 5.961 MB / 234.7 MB Notification: Performance of Backend: time 1.282e-06/0.1268, allocations: 0 / 277.9 MB, free: 5.961 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.1273, allocations: 111.8 kB / 278 MB, free: 5.844 MB / 234.7 MB Notification: Performance of SimCode: time 0.001192/0.1286, allocations: 0.7351 MB / 278.7 MB, free: 5.059 MB / 234.7 MB Notification: Performance of Templates: time 0.006784/0.1354, allocations: 0.9009 MB / 279.6 MB, free: 4.168 MB / 234.7 MB