Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 89.02 kB / 16.66 MB, free: 6.598 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.001317/0.001317, allocations: 179.7 kB / 17.57 MB, free: 6.188 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.007/2.007, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2769/0.2769, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 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.0006369/0.0006367, allocations: 18.78 kB / 385.2 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.149, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.0028/0.1519, allocations: 1.542 MB / 445.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003747/0.1523, allocations: 156.2 kB / 445.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.1524, allocations: 8 kB / 445.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/0.1525, allocations: 23.84 kB / 445.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.1526, allocations: 39.62 kB / 445.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1528, allocations: 31.97 kB / 445.9 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.1531, allocations: 175.2 kB / 446.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.1533, allocations: 46.08 kB / 446.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1534, allocations: 59.73 kB / 446.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1536, allocations: 75.62 kB / 446.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1536, allocations: 8 kB / 446.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.1536, allocations: 8 kB / 446.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.1537, allocations: 27.91 kB / 446.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1538, allocations: 101.3 kB / 446.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.154, allocations: 127.7 kB / 446.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.154, allocations: 0 / 446.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.154, allocations: 3.984 kB / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.154, allocations: 0 / 446.5 MB, free: 2.727 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006682/0.1547, allocations: 427.3 kB / 446.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.1548, allocations: 12.03 kB / 446.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.1548, allocations: 20.66 kB / 447 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.155, allocations: 204.2 kB / 447.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1551, allocations: 12.7 kB / 447.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.1551, allocations: 20.28 kB / 447.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1554, allocations: 162.2 kB / 447.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1555, allocations: 8.188 kB / 447.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.1555, allocations: 11.94 kB / 447.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1555, allocations: 4 kB / 447.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1556, allocations: 91.88 kB / 447.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.1563, allocations: 0.619 MB / 448.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1565, allocations: 133.2 kB / 448.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.1566, allocations: 49.7 kB / 448.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.1566, allocations: 11.94 kB / 448.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1567, allocations: 34.5 kB / 448.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1567, allocations: 0 / 448.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007714/0.1574, allocations: 381.4 kB / 448.7 MB, free: 324 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1575, allocations: 81.11 kB / 448.8 MB, free: 224 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1576, allocations: 137.9 kB / 448.9 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1577, allocations: 33.7 kB / 448.9 MB, free: 32 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1578, allocations: 124 kB / 449 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.1579, allocations: 59.25 kB / 449.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1579, allocations: 21.7 kB / 449.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1581, allocations: 326.8 kB / 449.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.1582, allocations: 35.98 kB / 449.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1584, allocations: 100.6 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1586, allocations: 160.5 kB / 449.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1586, allocations: 0 / 449.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004096/0.159, allocations: 222.8 kB / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1591, allocations: 6.906 kB / 450 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.1591, allocations: 8 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.1594, allocations: 49.69 kB / 450 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1595, allocations: 35.92 kB / 450.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.1621, allocations: 2.728 MB / 452.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/0.1622, allocations: 23.81 kB / 452.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1623, allocations: 4 kB / 452.8 MB, free: 11.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.1624, allocations: 133.7 kB / 452.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.1625, allocations: 11.91 kB / 453 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.1625, allocations: 20.8 kB / 453 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1626, allocations: 4 kB / 453 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1626, allocations: 0 / 453 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1626, allocations: 4 kB / 453 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.163, allocations: 241.4 kB / 453.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.163, allocations: 0 / 453.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1631, allocations: 27.98 kB / 453.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.1633, allocations: 41.7 kB / 453.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1633, allocations: 8 kB / 453.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.1657, allocations: 2.716 MB / 456 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1657, allocations: 0 / 456 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1662, allocations: 379.7 kB / 456.4 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1663, allocations: 92.86 kB / 456.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1663, allocations: 0 / 456.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.1664, allocations: 8 kB / 456.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1664, allocations: 16.06 kB / 456.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1664, allocations: 15.98 kB / 456.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.23e-05/0.1665, allocations: 95.27 kB / 456.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1665, allocations: 0 / 456.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.167, allocations: 55.84 kB / 456.7 MB, free: 7.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.1671, allocations: 103.2 kB / 456.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005402/0.1677, allocations: 349.4 kB / 457.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1677, allocations: 0 / 457.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.168, allocations: 285.2 kB / 457.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1685, allocations: 35.98 kB / 457.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1698, allocations: 0.8283 MB / 458.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.1703, allocations: 0.7242 MB / 459 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1703, allocations: 15.44 kB / 459 MB, free: 5.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1703, allocations: 0 / 459 MB, free: 5.121 MB / 334.1 MB Notification: Performance of Templates: time 0.005366/0.1757, allocations: 3.093 MB / 462.1 MB, free: 2.031 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilitiesCalcHelperMain.o] Error 1