Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009586/0.0009584, allocations: 89.61 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008474/0.0008475, allocations: 197.9 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004335/0.1551, allocations: 3.679 MB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1567, allocations: 0.9428 MB / 363.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.157, allocations: 8 kB / 363.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.1572, allocations: 63.45 kB / 363.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1576, allocations: 174.6 kB / 363.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1579, allocations: 115.9 kB / 363.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006191/0.1585, allocations: 0.6815 MB / 364.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.1588, allocations: 174.5 kB / 364.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.1591, allocations: 243 kB / 364.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.1595, allocations: 286.7 kB / 365.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.1596, allocations: 36 kB / 365.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1597, allocations: 40 kB / 365.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1598, allocations: 111.5 kB / 365.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1599, allocations: 133.3 kB / 365.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.1604, allocations: 0.5141 MB / 366 MB, free: 6.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1604, allocations: 0 / 366 MB, free: 6.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1604, allocations: 0 / 366 MB, free: 6.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1604, allocations: 0 / 366 MB, free: 6.91 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001271/0.1617, allocations: 0.8299 MB / 366.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1617, allocations: 12.03 kB / 366.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.1621, allocations: 99.2 kB / 366.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1625, allocations: 364.9 kB / 367.3 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.1626, allocations: 41.31 kB / 367.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1627, allocations: 55.95 kB / 367.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.1636, allocations: 0.5414 MB / 367.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1636, allocations: 4 kB / 367.9 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.1637, allocations: 23.98 kB / 367.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1637, allocations: 12 kB / 367.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.1645, allocations: 459.7 kB / 368.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.1672, allocations: 2.058 MB / 370.4 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009418/0.1682, allocations: 0.6541 MB / 371.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.1688, allocations: 402.2 kB / 371.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.1689, allocations: 8.562 kB / 371.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1689, allocations: 39.12 kB / 371.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 1.833e-06/0.1689, allocations: 0 / 371.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.2724/0.4413, allocations: 2.05 MB / 373.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4414, allocations: 59.91 kB / 373.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.4418, allocations: 357.9 kB / 374 MB, free: 19.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4419, allocations: 42.27 kB / 374 MB, free: 19.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4421, allocations: 232.7 kB / 374.3 MB, free: 19.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.4422, allocations: 197.9 kB / 374.5 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.4422, allocations: 10.69 kB / 374.5 MB, free: 19.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4424, allocations: 359.8 kB / 374.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.4428, allocations: 169.7 kB / 375 MB, free: 18.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.4433, allocations: 224.1 kB / 375.2 MB, free: 18.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.4438, allocations: 179.4 kB / 375.4 MB, free: 18.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4438, allocations: 0 / 375.4 MB, free: 18.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001419/0.4452, allocations: 0.6689 MB / 376 MB, free: 18.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4452, allocations: 10.5 kB / 376.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4453, allocations: 1.438 kB / 376.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007158/0.446, allocations: 256.8 kB / 376.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.4463, allocations: 67 kB / 376.4 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.4519, allocations: 6.776 MB / 383.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.4522, allocations: 20.33 kB / 383.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.4523, allocations: 18.98 kB / 383.2 MB, free: 12.5 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.0002359/0.4525, allocations: 175.4 kB / 383.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.4526, allocations: 48.64 kB / 383.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.4527, allocations: 68.09 kB / 383.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.4528, allocations: 5.344 kB / 383.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/0.4528, allocations: 6.484 kB / 383.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4528, allocations: 3.094 kB / 383.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.4552, allocations: 1.354 MB / 384.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4552, allocations: 1.125 kB / 384.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.4555, allocations: 58.8 kB / 384.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006619/0.4561, allocations: 258.4 kB / 385.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.4562, allocations: 13.47 kB / 385.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.4619, allocations: 6.777 MB / 391.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4619, allocations: 0.875 kB / 391.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.4641, allocations: 1.045 MB / 393 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4643, allocations: 160.1 kB / 393.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.4644, allocations: 12.08 kB / 393.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.4646, allocations: 23.56 kB / 393.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.4648, allocations: 55.39 kB / 393.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.4649, allocations: 15.27 kB / 393.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000376/0.4653, allocations: 255 kB / 393.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4653, allocations: 4 kB / 393.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4664, allocations: 171.7 kB / 393.7 MB, free: 4.375 MB / 302.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.0002028/0.4666, allocations: 114.5 kB / 393.8 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.4685, allocations: 1.048 MB / 394.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4686, allocations: 0 / 394.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4699, allocations: 0.8393 MB / 395.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.4705, allocations: 84.59 kB / 395.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.4733, allocations: 1.558 MB / 397.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.474, allocations: 0.8772 MB / 398.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4741, allocations: 31.53 kB / 398.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4741, allocations: 0 / 398.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of Templates: time 0.02476/0.4989, allocations: 13.76 MB / 412 MB, free: 8.312 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.RectifierCalcHelperMain.o] Error 1