Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009344, allocations: 93.81 kB / 16.95 MB, free: 6.453 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.00114/0.00114, allocations: 179.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004045, allocations: 4 kB / 301.4 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00454/0.1538, allocations: 2.971 MB / 354.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1557, allocations: 0.7328 MB / 355.6 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006628/0.1564, allocations: 7.938 kB / 355.6 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.1569, allocations: 55.59 kB / 355.6 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007914/0.1577, allocations: 115 kB / 355.7 MB, free: 104 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.1582, allocations: 75.89 kB / 355.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008928/0.1591, allocations: 469.7 kB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.1595, allocations: 114.5 kB / 356.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.16, allocations: 151.4 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.1603, allocations: 183.2 kB / 356.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.1604, allocations: 20 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.1605, allocations: 24 kB / 356.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.1606, allocations: 71.67 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1607, allocations: 105.5 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1611, allocations: 343 kB / 357.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1611, allocations: 0 / 357.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1611, allocations: 4 kB / 357.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1611, allocations: 0 / 357.3 MB, free: 14.55 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001502/0.1626, allocations: 0.6544 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1627, allocations: 8.031 kB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.1628, allocations: 51.39 kB / 358 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.1632, allocations: 310.2 kB / 358.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.1633, allocations: 24.66 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.1633, allocations: 32 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.164, allocations: 350.8 kB / 358.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.164, allocations: 7.938 kB / 358.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.1641, allocations: 16 kB / 358.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1641, allocations: 8 kB / 358.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.1647, allocations: 282.4 kB / 359 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.167, allocations: 1.426 MB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.1675, allocations: 226.3 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.1677, allocations: 116.8 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1678, allocations: 7.938 kB / 360.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1678, allocations: 34.56 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.1678, allocations: 0 / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001647/0.1694, allocations: 0.7179 MB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1695, allocations: 55.41 kB / 361.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.1699, allocations: 300.6 kB / 361.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.17, allocations: 29.7 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1702, allocations: 216 kB / 362.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.882e-05/0.1703, allocations: 78.89 kB / 362.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.1703, allocations: 4 kB / 362.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.1705, allocations: 342.8 kB / 362.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1707, allocations: 87.95 kB / 362.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.171, allocations: 124.2 kB / 362.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1712, allocations: 91.92 kB / 362.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1712, allocations: 7.953 kB / 362.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008471/0.1721, allocations: 371.7 kB / 363.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.1721, allocations: 4 kB / 363.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1721, allocations: 3.984 kB / 363.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/0.1726, allocations: 118.6 kB / 363.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1728, allocations: 35.91 kB / 363.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004728/0.1775, allocations: 4.457 MB / 367.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1778, allocations: 23.84 kB / 367.8 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1778, allocations: 7.984 kB / 367.8 MB, free: 3.207 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.1781, allocations: 145.8 kB / 368 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.1782, allocations: 35.58 kB / 368 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.1783, allocations: 39.23 kB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1783, allocations: 4 kB / 368.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1783, allocations: 0 / 368.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1783, allocations: 0 / 368.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.1789, allocations: 377.2 kB / 368.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1789, allocations: 0 / 368.4 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.179, allocations: 27.92 kB / 368.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/0.1793, allocations: 114.5 kB / 368.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.1794, allocations: 8.078 kB / 368.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2755/0.4549, allocations: 4.435 MB / 373 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4549, allocations: 0.5 kB / 373 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.4557, allocations: 418.2 kB / 373.4 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.4558, allocations: 128.9 kB / 373.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.4559, allocations: 5.203 kB / 373.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.4561, allocations: 25.91 kB / 373.6 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4562, allocations: 26.81 kB / 373.6 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.4562, allocations: 8.719 kB / 373.6 MB, free: 21.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.4565, allocations: 214.8 kB / 373.8 MB, free: 21.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4565, allocations: 3.156 kB / 373.8 MB, free: 21.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.4572, allocations: 116.1 kB / 373.9 MB, free: 21.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.4573, allocations: 110 kB / 374 MB, free: 21.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009679/0.4583, allocations: 0.5747 MB / 374.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4583, allocations: 3.438 kB / 374.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.4588, allocations: 495.2 kB / 375.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.4593, allocations: 50.75 kB / 375.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4607, allocations: 0.7936 MB / 375.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4611, allocations: 0.797 MB / 376.7 MB, free: 19.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.4612, allocations: 24.91 kB / 376.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4612, allocations: 0 / 376.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01558/0.4768, allocations: 8.258 MB / 385 MB, free: 17.52 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodesCalcHelperMain.o] Error 1