Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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) 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(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 104 kB / 17.8 MB, free: 5.578 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.001255/0.001255, allocations: 189.9 kB / 18.72 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 224.6 MB, free: 12.49 MB / 190.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.001483/0.001483, allocations: 55.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00446/0.1279, allocations: 1.821 MB / 329.1 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1293, allocations: 0.6709 MB / 329.7 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.1294, allocations: 4 kB / 329.7 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1296, allocations: 11.92 kB / 329.8 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.1297, allocations: 27.77 kB / 329.8 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1299, allocations: 39.83 kB / 329.8 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1301, allocations: 123.3 kB / 329.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1302, allocations: 31.95 kB / 330 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.1303, allocations: 35.86 kB / 330 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.1304, allocations: 43.73 kB / 330 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1304, allocations: 4 kB / 330.1 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.86e-05/0.1305, allocations: 23.98 kB / 330.1 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.1305, allocations: 23.91 kB / 330.1 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1306, allocations: 47.8 kB / 330.1 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1308, allocations: 92.02 kB / 330.2 MB, free: 1.887 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1308, allocations: 0 / 330.2 MB, free: 1.887 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1308, allocations: 4 kB / 330.2 MB, free: 1.883 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1308, allocations: 0 / 330.2 MB, free: 1.883 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006827/0.1315, allocations: 403.3 kB / 330.6 MB, free: 1.441 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.1316, allocations: 12.03 kB / 330.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.1318, allocations: 20.83 kB / 330.7 MB, free: 1.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.132, allocations: 200.1 kB / 330.9 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1321, allocations: 4.562 kB / 330.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1321, allocations: 12.38 kB / 330.9 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1323, allocations: 97.59 kB / 331 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1324, allocations: 0 / 331 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1324, allocations: 0 / 331 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1324, allocations: 4 kB / 331 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1325, allocations: 55.97 kB / 331 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008322/0.1334, allocations: 489.1 kB / 331.5 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1336, allocations: 86.56 kB / 331.6 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.1337, allocations: 20.86 kB / 331.6 MB, free: 348 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1337, allocations: 4 kB / 331.6 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1338, allocations: 42.55 kB / 331.7 MB, free: 292 kB / 270.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1338, allocations: 0 / 331.7 MB, free: 292 kB / 270.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002628/0.134, allocations: 105.7 kB / 331.8 MB, free: 180 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1341, allocations: 55.34 kB / 331.8 MB, free: 112 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1342, allocations: 117.9 kB / 331.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1343, allocations: 25.7 kB / 332 MB, free: 15.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.1343, allocations: 111.8 kB / 332.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1344, allocations: 31.55 kB / 332.1 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.1344, allocations: 25.72 kB / 332.1 MB, free: 15.78 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1346, allocations: 318.8 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.1346, allocations: 31.92 kB / 332.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.1347, allocations: 55.36 kB / 332.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1348, allocations: 79.38 kB / 332.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1348, allocations: 0 / 332.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001667/0.135, allocations: 117.5 kB / 332.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.135, allocations: 4 kB / 332.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1351, allocations: 4 kB / 332.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1351, allocations: 0 / 332.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1352, allocations: 27.94 kB / 332.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1352, allocations: 7.922 kB / 332.8 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.1353, allocations: 15.94 kB / 332.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1353, allocations: 8 kB / 332.8 MB, free: 15.08 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001029/0.1354, allocations: 113.8 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1355, allocations: 4 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.1355, allocations: 16.38 kB / 332.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1355, allocations: 0 / 332.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1355, allocations: 3.938 kB / 332.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1355, allocations: 3.984 kB / 332.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1358, allocations: 197.5 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1358, allocations: 4 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1359, allocations: 27.92 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1359, allocations: 0 / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1359, allocations: 4 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1359, allocations: 0 / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.136, allocations: 7.938 kB / 333.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1362, allocations: 195.4 kB / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.1363, allocations: 85.02 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1363, allocations: 4.094 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.1364, allocations: 7.938 kB / 333.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.1364, allocations: 11.97 kB / 333.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1364, allocations: 0 / 333.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.1365, allocations: 99.64 kB / 333.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1365, allocations: 0 / 333.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1368, allocations: 27.94 kB / 333.6 MB, free: 14.19 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.1369, allocations: 95.19 kB / 333.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1371, allocations: 64.31 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1371, allocations: 0 / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.1371, allocations: 27.98 kB / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1375, allocations: 16.31 kB / 333.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.1384, allocations: 494.6 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1387, allocations: 0.7004 MB / 335 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.1388, allocations: 15.44 kB / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1388, allocations: 3.938 kB / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of Templates: time 0.002913/0.1417, allocations: 1.286 MB / 336.3 MB, free: 11.43 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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 OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o] Error 1