Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 181.5 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 225.7 MB / 241.9 MB, free: 14.64 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 93.86 kB / 293 MB, free: 4.875 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02608/0.02608, allocations: 5.517 MB / 349.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 8 kB / 415.4 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1997, allocations: 51.61 MB / 467 MB, free: 72.38 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.002962/0.2028, allocations: 3.834 MB / 470.9 MB, free: 68.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2046, allocations: 1.572 MB / 472.5 MB, free: 66.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.2048, allocations: 7.938 kB / 472.5 MB, free: 66.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.2058, allocations: 355.2 kB / 472.8 MB, free: 66.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.2062, allocations: 213.7 kB / 473 MB, free: 66.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.2065, allocations: 192.2 kB / 473.2 MB, free: 66.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01297/0.2195, allocations: 23.7 MB / 496.9 MB, free: 42.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007214/0.2267, allocations: 7.216 MB / 0.4923 GB, free: 35.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007978/0.2347, allocations: 6.543 MB / 0.4987 GB, free: 28.51 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.2456, allocations: 8.271 MB / 0.5068 GB, free: 20.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003754/0.2494, allocations: 0.9023 MB / 0.5077 GB, free: 19.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/0.2543, allocations: 0.9102 MB / 0.5085 GB, free: 18.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003753/0.258, allocations: 2.987 MB / 0.5115 GB, free: 15.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01441/0.2725, allocations: 7.365 MB / 0.5187 GB, free: 7.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3652/0.6377, allocations: 26.77 MB / 0.5448 GB, free: 31.77 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.6377, allocations: 1.281 kB / 0.5448 GB, free: 31.77 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6377, allocations: 0 / 0.5448 GB, free: 31.77 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0008688/0.6386, allocations: 3.469 kB / 0.5448 GB, free: 31.77 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.08991/0.7285, allocations: 28.12 MB / 0.5723 GB, free: 19.98 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7286, allocations: 9.125 kB / 0.5723 GB, free: 19.98 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008941/0.7376, allocations: 1.453 MB / 0.5737 GB, free: 18.71 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05332/0.7909, allocations: 21.07 MB / 0.5943 GB, free: 1.914 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005896/0.7915, allocations: 0.6259 MB / 0.5949 GB, free: 1.559 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005368/0.7969, allocations: 0.818 MB / 0.5957 GB, free: 1.012 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04393/0.8408, allocations: 16.88 MB / 0.6122 GB, free: 1.855 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002797/0.8412, allocations: 30.53 kB / 0.6122 GB, free: 1.84 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004162/0.8453, allocations: 348 kB / 0.6125 GB, free: 1.5 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/0.8456, allocations: 212 kB / 0.6127 GB, free: 1.293 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04733/0.8929, allocations: 20.21 MB / 0.6325 GB, free: 13.18 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1264/1.019, allocations: 61.7 MB / 0.6927 GB, free: 15.52 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03713/1.057, allocations: 24.98 MB / 0.7171 GB, free: 5.895 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2095/1.266, allocations: 8.673 MB / 0.7256 GB, free: 167.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/1.266, allocations: 72.55 kB / 0.7257 GB, free: 167.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.266, allocations: 83.73 kB / 0.7257 GB, free: 167.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=448): time 5.47e-06/1.266, allocations: 0 / 0.7257 GB, free: 167.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=448): time 0.1274/1.394, allocations: 51.51 MB / 0.776 GB, free: 138.9 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/1.394, allocations: 101.8 kB / 0.7761 GB, free: 138.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0293/1.423, allocations: 16.2 MB / 0.792 GB, free: 122.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001994/1.425, allocations: 109.7 kB / 0.7921 GB, free: 122.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006157/1.431, allocations: 6.091 MB / 0.798 GB, free: 118.1 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00279/1.434, allocations: 1.573 MB / 0.7995 GB, free: 116.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/1.436, allocations: 180 kB / 0.7997 GB, free: 116.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004334/1.437, allocations: 0.666 MB / 0.8004 GB, free: 115.9 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01532/1.452, allocations: 9.19 MB / 0.8093 GB, free: 106.7 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01657/1.469, allocations: 10.38 MB / 0.8195 GB, free: 95.95 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02854/1.497, allocations: 16.96 MB / 0.836 GB, free: 78.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/1.497, allocations: 8 kB / 0.836 GB, free: 78.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1411/1.638, allocations: 54.53 MB / 0.8893 GB, free: 23.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/1.638, allocations: 17.31 kB / 0.8893 GB, free: 23.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.688e-05/1.638, allocations: 24 kB / 0.8893 GB, free: 23.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2594/1.898, allocations: 30.53 MB / 0.9191 GB, free: 147.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006911/1.905, allocations: 1.575 MB / 0.9207 GB, free: 147.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6283/2.533, allocations: 225.3 MB / 1.141 GB, free: 111.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02322/2.556, allocations: 3.364 MB / 1.144 GB, free: 109.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004027/2.56, allocations: 387.2 kB / 1.144 GB, free: 109.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01331/2.574, allocations: 4.523 MB / 1.149 GB, free: 106 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005732/2.58, allocations: 1.155 MB / 1.15 GB, free: 105.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1201/2.7, allocations: 45.82 MB / 1.195 GB, free: 59.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/2.7, allocations: 40 kB / 1.195 GB, free: 59.95 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/2.7, allocations: 4 kB / 1.195 GB, free: 59.95 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/2.7, allocations: 27.73 kB / 1.195 GB, free: 59.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1604/2.86, allocations: 62.98 MB / 1.256 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/2.861, allocations: 0 / 1.256 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/2.863, allocations: 459.4 kB / 1.257 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2726/3.135, allocations: 20.4 MB / 1.277 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002422/3.138, allocations: 120.9 kB / 1.277 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.364/3.502, allocations: 143.5 MB / 1.417 GB, free: 33.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/3.502, allocations: 2.062 kB / 1.417 GB, free: 33.45 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3516/3.854, allocations: 44.85 MB / 1.461 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01046/3.864, allocations: 3.017 MB / 1.464 GB, free: 137.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006088/3.87, allocations: 72.97 kB / 1.464 GB, free: 137.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0141/3.884, allocations: 2.073 MB / 1.466 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/3.885, allocations: 279 kB / 1.466 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001887/3.887, allocations: 144.8 kB / 1.466 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0257/3.913, allocations: 11.17 MB / 1.477 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.51e-07/3.913, allocations: 0 / 1.477 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01996/3.933, allocations: 4.072 MB / 1.481 GB, free: 137.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/3.934, allocations: 197.7 kB / 1.481 GB, free: 137.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.08945/4.024, allocations: 40.66 MB / 1.521 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/4.024, allocations: 0 / 1.521 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.06247/4.086, allocations: 23.71 MB / 1.544 GB, free: 86.48 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02437/4.111, allocations: 2.979 MB / 1.547 GB, free: 83.59 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/4.179, allocations: 35.76 MB / 1.582 GB, free: 47.84 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01449/4.193, allocations: 8.686 MB / 1.59 GB, free: 39.11 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01301/4.206, allocations: 3.646 MB / 1.594 GB, free: 35.46 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00378/4.21, allocations: 0.6282 MB / 1.595 GB, free: 34.84 MB / 0.4949 GB Notification: Performance of SimCode: time 1.763e-06/4.21, allocations: 0 / 1.595 GB, free: 34.84 MB / 0.4949 GB Notification: Performance of Templates: time 0.8475/5.058, allocations: 278.4 MB / 1.866 GB, free: 128.1 MB / 0.5105 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)