Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001391, allocations: 94.06 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001903, allocations: 197.5 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.848/1.848, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.000267, allocations: 4 kB / 307.3 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 51.49 MB / 358.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007047/0.1586, allocations: 5.004 MB / 363.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003988/0.1627, allocations: 1.173 MB / 365 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.1639, allocations: 23.88 kB / 365 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.1647, allocations: 127 kB / 365.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.1661, allocations: 238 kB / 365.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.1674, allocations: 167.8 kB / 365.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.1701, allocations: 0.9816 MB / 366.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1716, allocations: 404.2 kB / 366.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.1726, allocations: 330.9 kB / 367.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1737, allocations: 390.2 kB / 367.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.174, allocations: 52 kB / 367.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.1743, allocations: 48 kB / 367.7 MB, free: 5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1745, allocations: 159.4 kB / 367.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.1749, allocations: 197.3 kB / 368 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009471/0.1759, allocations: 0.8064 MB / 368.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.1759, allocations: 0 / 368.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1759, allocations: 3.938 kB / 368.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1759, allocations: 0 / 368.8 MB, free: 3.832 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001956/0.1779, allocations: 1.084 MB / 369.9 MB, free: 2.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1779, allocations: 12.03 kB / 369.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1781, allocations: 102.8 kB / 370 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.1788, allocations: 434.2 kB / 370.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.1789, allocations: 77.89 kB / 370.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.179, allocations: 99.84 kB / 370.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.1805, allocations: 0.8597 MB / 371.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.1805, allocations: 0 / 371.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/0.1806, allocations: 44 kB / 371.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.1807, allocations: 20 kB / 371.6 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.1817, allocations: 0.5738 MB / 372.1 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3296/0.5114, allocations: 2.968 MB / 375.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.5123, allocations: 300.2 kB / 375.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.513, allocations: 271.4 kB / 375.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.5131, allocations: 7.219 kB / 375.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.5132, allocations: 51.3 kB / 375.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 4.459e-06/0.5132, allocations: 0 / 375.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.002644/0.5158, allocations: 0.6512 MB / 376.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5159, allocations: 55.31 kB / 376.4 MB, free: 17.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.5171, allocations: 0.5114 MB / 376.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.5171, allocations: 33.88 kB / 377 MB, free: 17.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.5176, allocations: 486.2 kB / 377.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.5179, allocations: 159.6 kB / 377.6 MB, free: 16.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.5179, allocations: 14.75 kB / 377.6 MB, free: 16.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000264/0.5182, allocations: 369.4 kB / 378 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005386/0.5188, allocations: 170.7 kB / 378.1 MB, free: 16.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.5196, allocations: 456.7 kB / 378.6 MB, free: 16.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.5203, allocations: 239.1 kB / 378.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.5203, allocations: 3.062 kB / 378.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002316/0.5226, allocations: 0.7524 MB / 379.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.5227, allocations: 13.91 kB / 379.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.5227, allocations: 8.906 kB / 379.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.5233, allocations: 88.72 kB / 379.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.5244, allocations: 202.1 kB / 379.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.5272, allocations: 1.796 MB / 381.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.528, allocations: 91 kB / 381.8 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.5281, allocations: 37.06 kB / 381.8 MB, free: 13.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005399/0.5287, allocations: 211.3 kB / 382 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.5289, allocations: 58.38 kB / 382.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.5291, allocations: 70.75 kB / 382.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5291, allocations: 4.281 kB / 382.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/0.5291, allocations: 5.5 kB / 382.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5291, allocations: 2.016 kB / 382.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.5307, allocations: 0.6436 MB / 382.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5307, allocations: 0 / 382.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.5314, allocations: 104.7 kB / 382.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003838/0.5318, allocations: 72.33 kB / 383 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.5318, allocations: 8.766 kB / 383 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.5342, allocations: 1.785 MB / 384.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.5342, allocations: 0.6094 kB / 384.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.5357, allocations: 0.6781 MB / 385.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.5359, allocations: 134.8 kB / 385.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-05/0.5361, allocations: 10.66 kB / 385.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.5367, allocations: 50.81 kB / 385.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5368, allocations: 28.36 kB / 385.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.5369, allocations: 13.66 kB / 385.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007051/0.5376, allocations: 343.6 kB / 386 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5376, allocations: 1.188 kB / 386 MB, free: 11.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001816/0.5394, allocations: 249.2 kB / 386.2 MB, free: 10.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002445/0.5397, allocations: 111.9 kB / 386.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.5416, allocations: 0.594 MB / 386.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.5416, allocations: 0 / 386.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.5424, allocations: 324.5 kB / 387.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5435, allocations: 119.9 kB / 387.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.5476, allocations: 1.787 MB / 389.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.5484, allocations: 0.9354 MB / 390.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.5487, allocations: 44.62 kB / 390.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5487, allocations: 0 / 390.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Templates: time 0.03142/0.5801, allocations: 10.91 MB / 401.1 MB, free: 3.531 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPVCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPVCalcHelperMain.o] Error 1