Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 90.88 kB / 17.58 MB, free: 5.754 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.0009789/0.0009789, allocations: 179.4 kB / 18.47 MB, free: 5.207 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.691/1.691, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004322/0.0004322, allocations: 8 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 47.59 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003957/0.1208, allocations: 3.605 MB / 332.6 MB, free: 452 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1225, allocations: 0.9319 MB / 333.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1227, allocations: 11.94 kB / 333.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1229, allocations: 67.45 kB / 333.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.1234, allocations: 166.7 kB / 333.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1237, allocations: 123.8 kB / 333.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006934/0.1244, allocations: 0.6698 MB / 334.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.1247, allocations: 166.5 kB / 334.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.125, allocations: 243.1 kB / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.1253, allocations: 286.7 kB / 335.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.1254, allocations: 40 kB / 335.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.1255, allocations: 32 kB / 335.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1256, allocations: 115.5 kB / 335.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1258, allocations: 133.4 kB / 335.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.1263, allocations: 0.5024 MB / 336.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1263, allocations: 3.938 kB / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1263, allocations: 0 / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1263, allocations: 0 / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001294/0.1276, allocations: 0.8262 MB / 336.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1277, allocations: 12.03 kB / 336.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1278, allocations: 71.09 kB / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.1282, allocations: 360.9 kB / 337.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.1283, allocations: 41.27 kB / 337.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.1284, allocations: 56 kB / 337.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.1293, allocations: 0.5453 MB / 338 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1293, allocations: 0 / 338 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.1294, allocations: 23.98 kB / 338 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.1294, allocations: 16 kB / 338 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.1302, allocations: 463.6 kB / 338.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.1331, allocations: 2.057 MB / 340.5 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.134, allocations: 0.6454 MB / 341.2 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.1346, allocations: 402.2 kB / 341.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.1347, allocations: 4.562 kB / 341.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1347, allocations: 39.12 kB / 341.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 4.548e-06/0.1347, allocations: 0 / 341.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004136/0.1389, allocations: 2.067 MB / 343.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1389, allocations: 59.97 kB / 343.7 MB, free: 4.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.1393, allocations: 365.6 kB / 344.1 MB, free: 4.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.1394, allocations: 37.7 kB / 344.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1396, allocations: 237 kB / 344.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1397, allocations: 201 kB / 344.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.1398, allocations: 8 kB / 344.5 MB, free: 4.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1399, allocations: 358.8 kB / 344.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.1403, allocations: 169 kB / 345.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1406, allocations: 215.8 kB / 345.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.141, allocations: 182.2 kB / 345.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.141, allocations: 4 kB / 345.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00113/0.1421, allocations: 0.6734 MB / 346.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1422, allocations: 4 kB / 346.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1422, allocations: 0 / 346.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006811/0.1429, allocations: 255.2 kB / 346.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1432, allocations: 67.89 kB / 346.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/0.1494, allocations: 6.769 MB / 353.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1497, allocations: 24.02 kB / 353.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1498, allocations: 16 kB / 353.3 MB, free: 10.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00027/0.1501, allocations: 181.9 kB / 353.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.1501, allocations: 47.62 kB / 353.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.1503, allocations: 72.89 kB / 353.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1503, allocations: 8 kB / 353.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.1503, allocations: 4 kB / 353.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1503, allocations: 3.984 kB / 353.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1524, allocations: 1.349 MB / 354.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1524, allocations: 11.92 kB / 354.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1527, allocations: 51.97 kB / 355 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006878/0.1534, allocations: 263.5 kB / 355.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.1534, allocations: 15.98 kB / 355.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/0.1603, allocations: 6.769 MB / 362 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1603, allocations: 0 / 362 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.1621, allocations: 1.041 MB / 363.1 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.1624, allocations: 164.4 kB / 363.2 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.1624, allocations: 15.94 kB / 363.2 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1627, allocations: 23.98 kB / 363.3 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.1629, allocations: 52.48 kB / 363.3 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.1629, allocations: 16 kB / 363.3 MB, free: 20 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.1632, allocations: 255.2 kB / 363.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1632, allocations: 0 / 363.6 MB, free: 15.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009226/0.1641, allocations: 172 kB / 363.7 MB, free: 15.6 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.1643, allocations: 115.2 kB / 363.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.166, allocations: 1.033 MB / 364.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.166, allocations: 0 / 364.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.1672, allocations: 0.8453 MB / 365.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.1679, allocations: 85.8 kB / 365.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1705, allocations: 1.567 MB / 367.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/0.1713, allocations: 0.8753 MB / 368.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.1714, allocations: 27.44 kB / 368.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.334e-06/0.1714, allocations: 4 kB / 368.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Templates: time 0.2109/0.3823, allocations: 13.77 MB / 382.1 MB, free: 51.65 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.Electrical.Analog.Examples.RectifierCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.o] Error 1