Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 102.5 kB / 16.52 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 199.7 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.776/2.776, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3838/0.3838, allocations: 43.52 MB / 314.1 MB, free: 0.7656 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 74.36 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2401, allocations: 57.78 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004884/0.245, allocations: 1.713 MB / 442.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2464, allocations: 0.5741 MB / 442.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2465, allocations: 3.938 kB / 442.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.2467, allocations: 7.922 kB / 442.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2468, allocations: 11.88 kB / 442.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2472, allocations: 47.95 kB / 442.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2474, allocations: 103.6 kB / 442.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.2477, allocations: 40.25 kB / 443 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2478, allocations: 35.84 kB / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.248, allocations: 47.77 kB / 443 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.248, allocations: 4 kB / 443 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.554e-05/0.2481, allocations: 4 kB / 443 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.2481, allocations: 15.92 kB / 443.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.2483, allocations: 47.72 kB / 443.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.2484, allocations: 75.81 kB / 443.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2485, allocations: 4 kB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2485, allocations: 0 / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2485, allocations: 0 / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001251/0.2497, allocations: 415 kB / 443.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/0.2498, allocations: 8.031 kB / 443.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.2499, allocations: 12.84 kB / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2503, allocations: 204.1 kB / 443.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2503, allocations: 8.375 kB / 443.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.2504, allocations: 8.375 kB / 443.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.2507, allocations: 89.97 kB / 443.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.2507, allocations: 7.922 kB / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.2507, allocations: 0 / 443.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.2508, allocations: 4 kB / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.2509, allocations: 43.97 kB / 444 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.2518, allocations: 364.6 kB / 444.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.252, allocations: 58.5 kB / 444.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.2521, allocations: 28.98 kB / 444.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2521, allocations: 0 / 444.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.2524, allocations: 103.3 kB / 444.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2524, allocations: 0 / 444.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004597/0.2529, allocations: 129.4 kB / 444.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.253, allocations: 55.41 kB / 444.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.2532, allocations: 148.5 kB / 444.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2532, allocations: 25.7 kB / 444.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2534, allocations: 108.3 kB / 445 MB, free: 2.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.2534, allocations: 27.61 kB / 445 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.2535, allocations: 37.64 kB / 445 MB, free: 2.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.2538, allocations: 318.8 kB / 445.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.2538, allocations: 23.98 kB / 445.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.254, allocations: 83.7 kB / 445.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.2543, allocations: 127.6 kB / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2543, allocations: 0 / 445.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000274/0.2546, allocations: 137.3 kB / 445.7 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2546, allocations: 8.219 kB / 445.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2546, allocations: 4 kB / 445.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.2546, allocations: 4 kB / 445.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.2548, allocations: 23.92 kB / 445.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.2548, allocations: 7.938 kB / 445.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.2549, allocations: 15.89 kB / 445.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2549, allocations: 8 kB / 445.8 MB, free: 1.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001844/0.2551, allocations: 141.1 kB / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.2551, allocations: 7.906 kB / 445.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.2552, allocations: 12.72 kB / 445.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2552, allocations: 4 kB / 445.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.2552, allocations: 7.922 kB / 445.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2552, allocations: 0 / 445.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.2555, allocations: 205.6 kB / 446.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2555, allocations: 0 / 446.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2556, allocations: 11.98 kB / 446.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2557, allocations: 0 / 446.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.2557, allocations: 4 kB / 446.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2557, allocations: 3.984 kB / 446.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2557, allocations: 7.938 kB / 446.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.2561, allocations: 169.2 kB / 446.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.2562, allocations: 85.05 kB / 446.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.2562, allocations: 0 / 446.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.2563, allocations: 11.94 kB / 446.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.2564, allocations: 7.922 kB / 446.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2564, allocations: 4 kB / 446.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.2565, allocations: 115.2 kB / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2565, allocations: 0 / 446.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.2568, allocations: 20 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001725/0.2569, allocations: 91.25 kB / 446.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.2572, allocations: 84.02 kB / 446.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2572, allocations: 448 / 446.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.2573, allocations: 35.98 kB / 446.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2576, allocations: 19.09 kB / 446.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.2584, allocations: 304.6 kB / 447.1 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/0.2592, allocations: 0.7042 MB / 447.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.2593, allocations: 19.44 kB / 447.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2593, allocations: 0 / 447.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Templates: time 0.005025/0.2643, allocations: 1.321 MB / 449.1 MB, free: 14.4 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o] Error 1