Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 93.05 kB / 16.95 MB, free: 5.953 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.001403/0.001403, allocations: 177.5 kB / 17.84 MB, free: 5.621 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.559/1.559, allocations: 223.2 MB / 241.9 MB, free: 364 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002819, allocations: 8.469 kB / 301.4 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 50.42 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003885/0.1516, allocations: 2.438 MB / 354.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1531, allocations: 0.6391 MB / 354.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1533, allocations: 7.938 kB / 355 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1536, allocations: 39.69 kB / 355 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1537, allocations: 79.38 kB / 355.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.154, allocations: 59.94 kB / 355.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.1545, allocations: 346.5 kB / 355.5 MB, free: 436 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.1548, allocations: 115.8 kB / 355.6 MB, free: 308 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.155, allocations: 115.6 kB / 355.7 MB, free: 192 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1552, allocations: 127.4 kB / 355.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1553, allocations: 20 kB / 355.8 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.1553, allocations: 20 kB / 355.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.1554, allocations: 55.84 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1555, allocations: 81.52 kB / 356 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1559, allocations: 275.4 kB / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1559, allocations: 0 / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1559, allocations: 4 kB / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1559, allocations: 0 / 356.3 MB, free: 15.61 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001039/0.157, allocations: 0.5652 MB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.157, allocations: 12.03 kB / 356.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.1571, allocations: 35.58 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.1575, allocations: 250.5 kB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.1575, allocations: 28.66 kB / 357.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.1576, allocations: 32 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.1582, allocations: 274.1 kB / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.1582, allocations: 3.938 kB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1583, allocations: 12 kB / 357.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1583, allocations: 11.98 kB / 357.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1588, allocations: 218.5 kB / 357.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.1604, allocations: 0.9947 MB / 358.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.1608, allocations: 168.9 kB / 358.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1609, allocations: 80.83 kB / 358.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.161, allocations: 4 kB / 358.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.161, allocations: 38.55 kB / 359 MB, free: 12.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.161, allocations: 0 / 359 MB, free: 12.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005824/0.1616, allocations: 229.5 kB / 359.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1617, allocations: 55.41 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1619, allocations: 203 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1619, allocations: 33.7 kB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1621, allocations: 192 kB / 359.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.1621, allocations: 59.11 kB / 359.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.1622, allocations: 4 kB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1624, allocations: 338.8 kB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1625, allocations: 67.97 kB / 360.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1627, allocations: 125.9 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1629, allocations: 71.98 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1629, allocations: 0 / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004763/0.1634, allocations: 261.1 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.1635, allocations: 4 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1635, allocations: 7.938 kB / 360.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1635, allocations: 0 / 360.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.1638, allocations: 68.03 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1638, allocations: 4 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.164, allocations: 27.77 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.164, allocations: 8 kB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.1642, allocations: 145.7 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.1642, allocations: 23.72 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.1647, allocations: 201.8 kB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1647, allocations: 4 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1647, allocations: 48 / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1647, allocations: 3.984 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.1651, allocations: 329.4 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1651, allocations: 8 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1654, allocations: 51.91 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1654, allocations: 0 / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1654, allocations: 8 kB / 361.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1654, allocations: 3.938 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1654, allocations: 3.984 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.166, allocations: 355.1 kB / 361.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.1661, allocations: 104.8 kB / 361.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1662, allocations: 0 / 361.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1664, allocations: 23.98 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.1664, allocations: 11.98 kB / 361.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1664, allocations: 11.98 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1666, allocations: 144.6 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 0 / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000347/0.1669, allocations: 79.69 kB / 362.2 MB, free: 9.344 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.1671, allocations: 107.2 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.1675, allocations: 167.8 kB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1676, allocations: 3.938 kB / 362.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1677, allocations: 86.89 kB / 362.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.1682, allocations: 24 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.17, allocations: 1.059 MB / 363.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.1705, allocations: 0.7676 MB / 364.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.1706, allocations: 19.44 kB / 364.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1706, allocations: 4 kB / 364.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of Templates: time 0.006281/0.1769, allocations: 2.836 MB / 367.2 MB, free: 4.215 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.SeriesResonanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonanceCalcHelperMain.o] Error 1