Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001077, allocations: 89.81 kB / 17.64 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.743/1.743, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 8 kB / 307.3 MB, free: 1.379 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 51.49 MB / 358.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.3276/0.4774, allocations: 16.74 MB / 375.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.4907, allocations: 5.393 MB / 380.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.4946, allocations: 61.5 kB / 381 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.5002, allocations: 1.057 MB / 382.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007698/0.5079, allocations: 0.9898 MB / 383 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.511, allocations: 425.2 kB / 383.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009236/0.5202, allocations: 3.539 MB / 387 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.5237, allocations: 1.159 MB / 388.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004162/0.5279, allocations: 1.164 MB / 389.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.5323, allocations: 1.301 MB / 390.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.5335, allocations: 174.2 kB / 390.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.536, allocations: 206.4 kB / 391 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006429/0.5367, allocations: 0.5036 MB / 391.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.539, allocations: 0.6333 MB / 392.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.5438, allocations: 3.632 MB / 395.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5438, allocations: 0 / 395.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5438, allocations: 0 / 395.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001309/0.544, allocations: 1.094 kB / 395.8 MB, free: 3.602 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.006223/0.5502, allocations: 2.843 MB / 398.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.5503, allocations: 9.125 kB / 398.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.5521, allocations: 487 kB / 399.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.5552, allocations: 1.64 MB / 400.7 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.5554, allocations: 197.2 kB / 400.9 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.5557, allocations: 269.6 kB / 401.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.5606, allocations: 2.455 MB / 403.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.934e-05/0.5607, allocations: 14.47 kB / 403.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.5609, allocations: 107.9 kB / 403.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.5609, allocations: 65.91 kB / 403.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.5642, allocations: 1.642 MB / 405.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.5807, allocations: 10.7 MB / 416.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.5821, allocations: 1.057 MB / 417.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.5828, allocations: 368.5 kB / 417.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.5828, allocations: 16.59 kB / 417.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.5829, allocations: 43.17 kB / 417.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=81): time 2.705e-06/0.5829, allocations: 0 / 417.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=90): time 0.006685/0.5896, allocations: 2.957 MB / 420.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.5897, allocations: 163.2 kB / 420.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/0.5934, allocations: 2.188 MB / 422.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.5935, allocations: 41.7 kB / 423 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.5947, allocations: 1.466 MB / 424.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.595, allocations: 339.3 kB / 424.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.5951, allocations: 36 kB / 424.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003114/0.5954, allocations: 373.9 kB / 425.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.5962, allocations: 367.8 kB / 425.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.5977, allocations: 1.242 MB / 426.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009781/0.5987, allocations: 0.5768 MB / 427.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.5987, allocations: 8 kB / 427.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.003478/0.6022, allocations: 1.834 MB / 429.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009621/0.6032, allocations: 0.9577 MB / 430.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.46e-05/0.6033, allocations: 28 kB / 430.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006364/0.6039, allocations: 171.2 kB / 430.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.6051, allocations: 411.3 kB / 430.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.6098, allocations: 5.345 MB / 436.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.612, allocations: 103.8 kB / 436.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.6122, allocations: 92 kB / 436.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.6122, allocations: 5.969 kB / 436.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002722/0.615, allocations: 1.578 MB / 437.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.615, allocations: 32.03 kB / 437.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.6155, allocations: 155.5 kB / 438.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.6166, allocations: 423.2 kB / 438.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.6215, allocations: 5.34 MB / 443.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.6237, allocations: 83.89 kB / 443.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.6239, allocations: 92.31 kB / 444 MB, free: 4.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (223): * Single equations (assignments): 219 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001657/0.6256, allocations: 0.5862 MB / 444.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.6259, allocations: 229.1 kB / 444.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.6279, allocations: 0.934 MB / 445.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6279, allocations: 12 kB / 445.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6279, allocations: 0 / 445.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6279, allocations: 3.984 kB / 445.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.6334, allocations: 3.143 MB / 448.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6334, allocations: 4 kB / 448.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.634, allocations: 167.2 kB / 449.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/0.6344, allocations: 124 kB / 449.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.6345, allocations: 24 kB / 449.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004163/0.6387, allocations: 5.309 MB / 454.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.6387, allocations: 8 kB / 454.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.641, allocations: 1.503 MB / 456 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008856/0.6419, allocations: 394.1 kB / 456.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.6422, allocations: 27.98 kB / 456.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.643, allocations: 55.97 kB / 456.5 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6431, allocations: 84.3 kB / 456.6 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.6432, allocations: 28 kB / 456.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00224/0.6455, allocations: 1.434 MB / 458 MB, free: 5.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6455, allocations: 4 kB / 458 MB, free: 5.914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003328/0.6488, allocations: 0.9375 MB / 459 MB, free: 4.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.w,loadInertia1.phi,dcee.inertiaRotor.w,loadInertia2.phi,dcse.inertiaRotor.w,loadInertia3.phi) * 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 (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002907/0.6491, allocations: 143 kB / 459.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.6533, allocations: 2.704 MB / 461.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6533, allocations: 0 / 461.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6544, allocations: 0.8244 MB / 462.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/0.6572, allocations: 0.5795 MB / 463.2 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/0.6648, allocations: 5.145 MB / 468.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.6662, allocations: 1.563 MB / 469.9 MB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.6666, allocations: 151.4 kB / 470.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6666, allocations: 0 / 470.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of Templates: time 0.3409/1.008, allocations: 78.31 MB / 0.5355 GB, free: 146.9 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristicsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristicsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristicsCalcHelperMain.o] Error 1