Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008134/0.0008133, allocations: 92.61 kB / 17.58 MB, free: 5.797 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.0008734/0.0008733, allocations: 181.6 kB / 18.48 MB, free: 5.254 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.667/1.667, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.000456/0.000456, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.111, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002499/0.1136, allocations: 1.862 MB / 330.8 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.115, allocations: 0.8941 MB / 331.7 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1151, allocations: 4 kB / 331.7 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1155, allocations: 75.7 kB / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1157, allocations: 111.4 kB / 331.9 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1161, allocations: 99.81 kB / 332 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1164, allocations: 262.8 kB / 332.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1166, allocations: 68.56 kB / 332.3 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1167, allocations: 99.62 kB / 332.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1169, allocations: 99.59 kB / 332.5 MB, free: 496 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.117, allocations: 12 kB / 332.5 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1171, allocations: 35.94 kB / 332.6 MB, free: 448 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.1172, allocations: 47.83 kB / 332.6 MB, free: 400 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.1173, allocations: 65.58 kB / 332.7 MB, free: 328 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1176, allocations: 211.7 kB / 332.9 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1176, allocations: 0 / 332.9 MB, free: 116 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1176, allocations: 3.938 kB / 332.9 MB, free: 112 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1176, allocations: 0 / 332.9 MB, free: 112 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008346/0.1185, allocations: 0.5029 MB / 333.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1185, allocations: 8.031 kB / 333.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1187, allocations: 35.7 kB / 333.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.119, allocations: 251.5 kB / 333.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.119, allocations: 8 kB / 333.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.1191, allocations: 20 kB / 333.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.1194, allocations: 173 kB / 333.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1194, allocations: 0 / 333.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1195, allocations: 8 kB / 333.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1195, allocations: 8 kB / 333.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.1197, allocations: 111.9 kB / 334 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.1206, allocations: 0.5665 MB / 334.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1209, allocations: 162.5 kB / 334.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.121, allocations: 84.83 kB / 334.8 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1211, allocations: 4 kB / 334.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.1214, allocations: 115.6 kB / 334.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.1214, allocations: 4 kB / 334.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004619/0.1218, allocations: 233.2 kB / 335.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1219, allocations: 51.41 kB / 335.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1221, allocations: 253 kB / 335.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1222, allocations: 29.7 kB / 335.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1223, allocations: 140.4 kB / 335.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.1224, allocations: 67.02 kB / 335.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.1224, allocations: 4 kB / 335.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002856/0.1227, allocations: 334.8 kB / 336 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1228, allocations: 55.97 kB / 336.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1229, allocations: 79.59 kB / 336.2 MB, free: 12.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.123, allocations: 60.88 kB / 336.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1231, allocations: 0 / 336.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003396/0.1234, allocations: 210.9 kB / 336.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1234, allocations: 10.61 kB / 336.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1234, allocations: 3.984 kB / 336.4 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1235, allocations: 4 kB / 336.4 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1237, allocations: 43.92 kB / 336.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1237, allocations: 4 kB / 336.5 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1238, allocations: 27.77 kB / 336.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1238, allocations: 11.94 kB / 336.5 MB, free: 12.24 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: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001394/0.124, allocations: 145.9 kB / 336.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.124, allocations: 23.72 kB / 336.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.1241, allocations: 38.12 kB / 336.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1241, allocations: 3.938 kB / 336.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1241, allocations: 0 / 336.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1241, allocations: 0 / 336.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.1244, allocations: 285.4 kB / 337 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1244, allocations: 0 / 337 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1246, allocations: 31.98 kB / 337.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1246, allocations: 4 kB / 337.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1246, allocations: 11.94 kB / 337.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1246, allocations: 4 kB / 337.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1246, allocations: 0 / 337.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.1251, allocations: 276.8 kB / 337.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.1252, allocations: 100.8 kB / 337.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1253, allocations: 12 kB / 337.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.1253, allocations: 16.02 kB / 337.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1254, allocations: 7.984 kB / 337.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1254, allocations: 15.97 kB / 337.5 MB, free: 11.19 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1256, allocations: 184.5 kB / 337.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1256, allocations: 0 / 337.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1259, allocations: 59.84 kB / 337.7 MB, free: 10.95 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009209/0.1268, allocations: 407.8 kB / 338.1 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1271, allocations: 143.9 kB / 338.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1271, allocations: 0 / 338.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1273, allocations: 80.72 kB / 338.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1276, allocations: 45.14 kB / 338.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/0.1286, allocations: 0.6645 MB / 339.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1289, allocations: 0.756 MB / 339.8 MB, free: 8.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.129, allocations: 23.42 kB / 339.8 MB, free: 8.797 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.129, allocations: 0 / 339.8 MB, free: 8.797 MB / 286.1 MB Notification: Performance of Templates: time 0.005641/0.1346, allocations: 3.088 MB / 342.9 MB, free: 5.699 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o] Error 1